fix statusline + some lsp stuff

This commit is contained in:
Gabe Farrell 2024-04-14 21:58:24 -04:00
parent cc4abb76ee
commit d9d98ca2c8
12 changed files with 216 additions and 60 deletions

47
lua/configs/lazy.lua Normal file
View file

@ -0,0 +1,47 @@
return {
defaults = { lazy = true },
install = { colorscheme = { "nvchad" } },
ui = {
icons = {
ft = "",
lazy = "󰂠 ",
loaded = "",
not_loaded = "",
},
},
performance = {
rtp = {
disabled_plugins = {
"2html_plugin",
"tohtml",
"getscript",
"getscriptPlugin",
"gzip",
"logipat",
"netrw",
"netrwPlugin",
"netrwSettings",
"netrwFileHandlers",
"matchit",
"tar",
"tarPlugin",
"rrhelper",
"spellfile_plugin",
"vimball",
"vimballPlugin",
"zip",
"zipPlugin",
"tutor",
"rplugin",
"syntax",
"synmenu",
"optwin",
"compiler",
"bugreport",
"ftplugin",
},
},
},
}

View file

@ -5,12 +5,67 @@ local function on_attach(bufnr)
end
local M = {
disable_netrw = true,
on_attach = on_attach,
git = { ignore = false },
filters = {
dotfiles = false,
},
disable_netrw = true,
hijack_netrw = true,
hijack_cursor = true,
hijack_unnamed_buffer_when_opening = false,
sync_root_with_cwd = true,
update_focused_file = {
enable = true,
update_root = false,
},
view = {
adaptive_size = false,
side = "left",
width = 30,
preserve_window_proportions = true,
},
git = {
enable = true,
ignore = false,
},
filesystem_watchers = {
enable = true,
},
actions = {
open_file = {
resize_window = true,
},
},
renderer = {
root_folder_label = false,
highlight_git = true,
highlight_opened_files = "none",
indent_markers = {
enable = false,
},
icons = {
show = {
file = true,
folder = true,
folder_arrow = true,
git = true,
},
glyphs = {
default = "󰈚",
symlink = "",
folder = {
default = "",
empty = "",
empty_open = "",
open = "",
symlink = "",
symlink_open = "",
arrow_open = "",
arrow_closed = "",
},
git = { -- this is so stupid lmao
unstaged = "😴",
staged = "😎",
@ -24,4 +79,24 @@ local M = {
},
}
-- local M = {
-- disable_netrw = true,
-- on_attach = on_attach,
-- git = { ignore = false },
-- renderer = {
-- icons = {
-- glyphs = {
-- git = { -- this is so stupid lmao
-- unstaged = "😴",
-- staged = "😎",
-- unmerged = "😈",
-- untracked = "😭",
-- renamed = "😶",
-- deleted = "😵",
-- },
-- },
-- },
-- },
-- }
return M

View file

@ -6,9 +6,16 @@ return {
"vim",
"vimdoc",
"go",
"gomod",
"ruby",
"rust",
"cpp",
"javascript",
"typescript",
"html",
"css",
"astro",
"bash",
},
highlight = {
enable = true,