1
0
Fork 0

lsp: don't use clang for proto files

This commit is contained in:
Felipe 2023-10-23 14:32:58 -03:00
parent 108571cf5f
commit 8a760db73e
Signed by: pitbuster
SSH key fingerprint: SHA256:OM3HeVSA96adfy2Gi8OhZkQBY67P88LoJUwkeVoTArQ

View file

@ -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 = {},