HELLO NvChad

This commit is contained in:
2023-12-16 23:48:41 -05:00
parent c8777040fb
commit fb4b0a7261
11 changed files with 398 additions and 1 deletions

View File

@@ -0,0 +1,67 @@
local cmp = require "cmp"
local M = {}
M.treesitter = {
ensure_installed = {
"vim",
"lua",
"html",
"css",
"javascript",
"typescript",
"tsx",
"c",
"markdown",
"markdown_inline",
},
indent = {
enable = true,
-- disable = {
-- "python"
-- },
},
}
M.mason = {
ensure_installed = {
-- lua stuff
"lua-language-server",
"stylua",
-- web dev stuff
"css-lsp",
"html-lsp",
"typescript-language-server",
"deno",
"prettier",
-- c/cpp stuff
"clangd",
"clang-format",
},
}
-- git support in nvimtree
M.nvimtree = {
git = {
enable = true,
},
renderer = {
highlight_git = true,
icons = {
show = {
git = true,
},
},
},
}
-- M.cmp = {
-- mapping = {
-- ["<A-Space>"] = cmp.mapping.complete(),
-- }
-- }
return M