fix lsp + conform + sleuth

This commit is contained in:
Gabe Farrell 2024-04-14 16:57:40 -04:00
parent 91ba5541a3
commit cc4abb76ee
18 changed files with 245 additions and 206 deletions

View file

@ -1,27 +1,27 @@
local function on_attach(bufnr)
local api = require "nvim-tree.api"
local api = require "nvim-tree.api"
api.config.mappings.default_on_attach(bufnr)
api.config.mappings.default_on_attach(bufnr)
end
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 = "😵",
},
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

@ -1,12 +1,18 @@
return {
ensure_installed = {
"lua", "luadoc", "printf",
"vim", "vimdoc", "go",
"ruby", "rust", "cpp",
},
highlight = {
enable = true,
use_languagetree = true,
},
indent = { { enable = true } },
ensure_installed = {
"lua",
"luadoc",
"printf",
"vim",
"vimdoc",
"go",
"ruby",
"rust",
"cpp",
},
highlight = {
enable = true,
use_languagetree = true,
},
indent = { { enable = true } },
}