Add csharp and show hidden files in neotree
This commit is contained in:
@@ -22,6 +22,7 @@ return {
|
||||
"pyright",
|
||||
"ols",
|
||||
"clangd",
|
||||
"omnisharp",
|
||||
},
|
||||
handlers = {
|
||||
function(server_name)
|
||||
@@ -29,6 +30,16 @@ return {
|
||||
capabilities = capabilities,
|
||||
handlers = handlers
|
||||
}
|
||||
end,
|
||||
clangd = function()
|
||||
local lspconfig = require("lspconfig")
|
||||
lspconfig.clangd.setup({
|
||||
capabilities = capabilities,
|
||||
handlers = handlers,
|
||||
init_options = {
|
||||
fallbackFlags = { '--std=c++20' }
|
||||
},
|
||||
})
|
||||
end
|
||||
}
|
||||
})
|
||||
|
||||
@@ -16,6 +16,17 @@ return {
|
||||
end,
|
||||
},
|
||||
},
|
||||
filesystem = {
|
||||
filtered_items = {
|
||||
visible = false,
|
||||
show_hidden_count = true,
|
||||
hide_dotfiles = false,
|
||||
hide_gitignored = false,
|
||||
hide_by_name = {
|
||||
'.git',
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
vim.keymap.set("n", "<C-n>", ":Neotree filesystem reveal right toggle<CR>", {})
|
||||
end,
|
||||
|
||||
@@ -4,7 +4,7 @@ return {
|
||||
config = function()
|
||||
local config = require("nvim-treesitter.configs")
|
||||
config.setup({
|
||||
ensure_installed = { "lua", "go", "zig", "markdown", "json", "yaml", "javascript", "typescript", "bash", "python" },
|
||||
ensure_installed = { "lua", "go", "zig", "markdown", "json", "yaml", "javascript", "typescript", "bash", "python", "c_sharp", "cpp" },
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user