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",
|
"passwd",
|
||||||
"perl",
|
"perl",
|
||||||
"php",
|
"php",
|
||||||
|
"proto",
|
||||||
"python",
|
"python",
|
||||||
"regex",
|
"regex",
|
||||||
"ron",
|
"ron",
|
||||||
|
|
@ -315,7 +316,9 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
|
||||||
-- Use a loop to conveniently call 'setup' on multiple servers and
|
-- Use a loop to conveniently call 'setup' on multiple servers and
|
||||||
-- map buffer local keybindings when the language server attaches
|
-- map buffer local keybindings when the language server attaches
|
||||||
local servers = {
|
local servers = {
|
||||||
clangd = {},
|
clangd = {
|
||||||
|
filetypes = { "c", "cpp" }
|
||||||
|
},
|
||||||
dotls = {},
|
dotls = {},
|
||||||
eslint = {},
|
eslint = {},
|
||||||
gopls = {},
|
gopls = {},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue