mirror of
https://github.com/gabehf/nvim-conf.git
synced 2026-03-12 00:40:33 -07:00
fix lsp + conform + sleuth
This commit is contained in:
parent
91ba5541a3
commit
cc4abb76ee
18 changed files with 245 additions and 206 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 } },
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue