neovim-confs/lua/custom/configs/overrides.lua

85 lines
1.1 KiB
Lua

local M = {}
M.treesitter = {
ensure_installed = {
"vim",
"lua",
"html",
"css",
"javascript",
"typescript",
"tsx",
"c",
"markdown",
"markdown_inline",
"rust",
"cpp",
"python",
"yaml",
"json",
"toml",
"bash",
},
indent = {
enable = true,
-- disable = {
-- "python"
-- },
},
}
M.mason = {
ensure_installed = {
-- general purpose
"purpose",
-- lua stuff
"lua-language-server",
"stylua",
-- web dev stuff
"css-lsp",
"html-lsp",
"typescript-language-server",
"deno",
"prettier",
-- c/cpp stuff
"clangd",
"clang-format",
"cmake-language-server",
-- rust
"rust-analyzer",
"taplo",
-- python
"pyright",
-- english??
-- "write-good",
-- shell
"shellcheck",
"bash-language-server",
},
}
-- git support in nvimtree
M.nvimtree = {
git = {
enable = true,
},
renderer = {
highlight_git = true,
icons = {
show = {
git = true,
},
},
},
}
return M