mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 18:30:46 +02:00
change to neovim config
This commit is contained in:
@@ -300,7 +300,7 @@
|
|||||||
-- LSP server setup
|
-- LSP server setup
|
||||||
vim.lsp.config("lua_ls", { cmd = { "lua-language-server" }, filetypes = { "lua" }, root_dir = vim.fs.dirname, on_attach = on_attach })
|
vim.lsp.config("lua_ls", { cmd = { "lua-language-server" }, filetypes = { "lua" }, root_dir = vim.fs.dirname, on_attach = on_attach })
|
||||||
vim.lsp.config("clangd", {
|
vim.lsp.config("clangd", {
|
||||||
cmd = { "clangd" },
|
cmd = { "clangd", "--header-insertion=never" },
|
||||||
filetypes = { "c","cpp","objc","objcpp" },
|
filetypes = { "c","cpp","objc","objcpp" },
|
||||||
on_attach = on_attach ,
|
on_attach = on_attach ,
|
||||||
init_options = {
|
init_options = {
|
||||||
|
|||||||
Reference in New Issue
Block a user