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

85 lines
1.1 KiB
Lua
Raw Normal View History

2024-01-19 22:34:37 +01:00
local M = {}
M.treesitter = {
ensure_installed = {
"vim",
"lua",
"html",
"css",
"javascript",
"typescript",
"tsx",
"c",
"markdown",
"markdown_inline",
2024-01-19 23:25:11 +01:00
"rust",
"cpp",
"python",
"yaml",
"json",
"toml",
2024-01-20 16:22:40 +01:00
"bash",
2024-01-19 22:34:37 +01:00
},
indent = {
enable = true,
-- disable = {
-- "python"
-- },
},
}
M.mason = {
ensure_installed = {
2024-01-19 23:25:11 +01:00
-- general purpose
"purpose",
2024-01-19 22:34:37 +01:00
-- lua stuff
"lua-language-server",
"stylua",
-- web dev stuff
"css-lsp",
"html-lsp",
"typescript-language-server",
"deno",
"prettier",
-- c/cpp stuff
"clangd",
"clang-format",
2024-01-20 16:22:40 +01:00
"cmake-language-server",
2024-01-19 23:25:11 +01:00
-- rust
"rust-analyzer",
"taplo",
-- python
"pyright",
2024-01-20 16:05:24 +01:00
-- english??
2024-01-20 16:22:40 +01:00
"write-good",
-- shell
"shellcheck",
"bash-language-server",
2024-01-19 22:34:37 +01:00
},
}
-- git support in nvimtree
M.nvimtree = {
git = {
enable = true,
},
renderer = {
highlight_git = true,
icons = {
show = {
git = true,
},
},
},
}
return M