Change to NvChad complete. Zig needs to be only available compiler on windows for now
This commit is contained in:
parent
882c6d2f63
commit
0855935763
8
init.lua
8
init.lua
|
@ -1,6 +1,6 @@
|
|||
local custom_init_path = vim.api.nvim_get_runtime_file("NvChad/init.lua", false)[1]
|
||||
local nvchad = vim.api.nvim_get_runtime_file("NvChad", false)[1]
|
||||
|
||||
if custom_init_path then
|
||||
package.path = './NvChad;./NvChad/lua/?/init.lua;./NvChad/lua/?.lua;' .. package.path
|
||||
dofile(custom_init_path)
|
||||
if nvchad then
|
||||
package.path = nvchad .. ';' .. nvchad .. '/lua/?/init.lua;' .. nvchad .. '/lua/?.lua;' .. package.path
|
||||
dofile(nvchad .. "/init.lua")
|
||||
end
|
||||
|
|
|
@ -4,15 +4,15 @@ M.treesitter = {
|
|||
ensure_installed = {
|
||||
"vim",
|
||||
"lua",
|
||||
-- "html",
|
||||
-- "css",
|
||||
-- "javascript",
|
||||
-- "typescript",
|
||||
-- "tsx",
|
||||
"html",
|
||||
"css",
|
||||
"javascript",
|
||||
"typescript",
|
||||
"tsx",
|
||||
"c",
|
||||
"cpp",
|
||||
-- "markdown",
|
||||
-- "markdown_inline",
|
||||
"markdown",
|
||||
"markdown_inline",
|
||||
},
|
||||
indent = {
|
||||
enable = true,
|
||||
|
@ -20,9 +20,10 @@ M.treesitter = {
|
|||
-- "python"
|
||||
-- },
|
||||
},
|
||||
-- prefer_git = true,
|
||||
compilers = { "zig" },
|
||||
auto_install = false,
|
||||
-- command_extra_args = {
|
||||
-- curl = { "--proxy", "http://ldiproxy.lsjv.rlp.de:8080"}
|
||||
-- },
|
||||
-- compilers = { "zig" },
|
||||
}
|
||||
|
||||
M.mason = {
|
||||
|
@ -41,6 +42,9 @@ M.mason = {
|
|||
-- c/cpp stuff
|
||||
"clangd",
|
||||
"clang-format",
|
||||
|
||||
-- rust stuff
|
||||
"rust-analyzer",
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue