cmp
This commit is contained in:
@ -57,33 +57,6 @@ local on_attach = function(client, bufnr)
|
||||
buf_set_keymap('n', '<space>f', '<cmd>lua vim.lsp.buf.formatting()<CR>', opts)
|
||||
|
||||
end
|
||||
|
||||
--[[
|
||||
|
||||
Language servers:
|
||||
|
||||
Add your language server to `servers`
|
||||
|
||||
For language servers list see:
|
||||
https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
|
||||
|
||||
Bash --> bashls
|
||||
https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#bashls
|
||||
|
||||
Python --> pyright
|
||||
https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#pyright
|
||||
|
||||
C-C++ --> clangd
|
||||
https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#clangd
|
||||
|
||||
HTML/CSS/JSON --> vscode-html-languageserver
|
||||
https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#html
|
||||
|
||||
JavaScript/TypeScript --> tsserver
|
||||
https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#tsserver
|
||||
|
||||
--]]
|
||||
|
||||
-- Use a loop to conveniently call 'setup' on multiple servers and
|
||||
-- map buffer local keybindings when the language server attaches
|
||||
local servers = { 'bashls', 'pyright', 'pylsp', 'clangd', 'html', 'tsserver', 'marksman', 'prosemd_lsp', 'dockerls', 'cssls', 'cssmodules_ls', 'arduino_language_server', 'pyre', 'gopls', 'theme_check' }
|
||||
|
||||
Reference in New Issue
Block a user