Fix cpp linting
This commit is contained in:
parent
33bf4be7bd
commit
2e13880a16
@ -1,2 +1,8 @@
|
|||||||
" vim-fswitch
|
" vim-fswitch
|
||||||
noremap gfs :FSHere<Cr>
|
noremap gfs :FSHere<Cr>
|
||||||
|
|
||||||
|
if has('nvim')
|
||||||
|
lua << EOF
|
||||||
|
vim.diagnostic.disable()
|
||||||
|
EOF
|
||||||
|
endif
|
||||||
|
@ -46,7 +46,7 @@ lua << EOF
|
|||||||
-- 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 nvim_lsp = require('lspconfig')
|
local nvim_lsp = require('lspconfig')
|
||||||
for _, lsp in ipairs({'jedi_language_server', 'gopls', 'rust_analyzer', 'clangd', 'ccls', 'tsserver'}) do
|
for _, lsp in ipairs({'jedi_language_server', 'gopls', 'rust_analyzer', 'clangd', 'tsserver'}) do
|
||||||
nvim_lsp[lsp].setup({
|
nvim_lsp[lsp].setup({
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
capabilities = capabilities
|
capabilities = capabilities
|
||||||
|
Loading…
Reference in New Issue
Block a user