lsp: don't use clang for proto files
This commit is contained in:
parent
108571cf5f
commit
8a760db73e
1 changed files with 4 additions and 1 deletions
5
init.lua
5
init.lua
|
|
@ -157,6 +157,7 @@ require("nvim-treesitter.configs").setup({
|
|||
"passwd",
|
||||
"perl",
|
||||
"php",
|
||||
"proto",
|
||||
"python",
|
||||
"regex",
|
||||
"ron",
|
||||
|
|
@ -315,7 +316,9 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
|
|||
-- Use a loop to conveniently call 'setup' on multiple servers and
|
||||
-- map buffer local keybindings when the language server attaches
|
||||
local servers = {
|
||||
clangd = {},
|
||||
clangd = {
|
||||
filetypes = { "c", "cpp" }
|
||||
},
|
||||
dotls = {},
|
||||
eslint = {},
|
||||
gopls = {},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue