Compare commits
3 Commits
504efd4db4
...
8b1abcfda9
Author | SHA1 | Date | |
---|---|---|---|
|
8b1abcfda9 | ||
|
58fbb0a0a0 | ||
|
9c6fb0b1d1 |
@ -1,35 +0,0 @@
|
||||
local capabilites = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
|
||||
|
||||
require'lspconfig'.tsserver.setup{
|
||||
capabilites = capabilites
|
||||
}
|
||||
require'lspconfig'.jsonls.setup{
|
||||
capabilites = capabilites
|
||||
}
|
||||
require'lspconfig'.dockerls.setup{
|
||||
capabilites = capabilites
|
||||
}
|
||||
require'lspconfig'.eslint.setup{
|
||||
capabilites = capabilites,
|
||||
settings= {
|
||||
run = "onSave"
|
||||
}
|
||||
}
|
||||
require'lspconfig'.gdscript.setup{
|
||||
capabilites = capabilites
|
||||
}
|
||||
require'lspconfig'.gopls.setup{
|
||||
capabilites = capabilites
|
||||
}
|
||||
require'lspconfig'.rust_analyzer.setup{
|
||||
capabilites = capabilites
|
||||
}
|
||||
require'lspconfig'.cssls.setup{
|
||||
capabilites = capabilites
|
||||
}
|
||||
require'lspconfig'.bashls.setup{
|
||||
capabilites = capabilites
|
||||
}
|
||||
|
||||
require'fzf_lsp'.setup()
|
||||
|
@ -14,7 +14,7 @@ require 'mason-tool-installer'.setup {
|
||||
{ 'bash-language-server', auto_update = true },
|
||||
'lua-language-server',
|
||||
'vim-language-server',
|
||||
'typescript-language-server',
|
||||
--'typescript-language-server',
|
||||
'stylua',
|
||||
},
|
||||
auto_update = false,
|
||||
|
@ -107,17 +107,24 @@ require('mason-lspconfig').setup_handlers {
|
||||
settings = {}
|
||||
}
|
||||
end,
|
||||
['tsserver'] = function()
|
||||
require('lspconfig')['tsserver'].setup {
|
||||
['vtsls'] = function()
|
||||
require('lspconfig')['vtsls'].setup {
|
||||
on_attach = on_attach,
|
||||
flags = lsp_flags,
|
||||
settings = {
|
||||
init_options = {
|
||||
host_info = 'neovim'
|
||||
}
|
||||
}
|
||||
}
|
||||
end,
|
||||
-- ['tsserver'] = function()
|
||||
--
|
||||
-- require('lspconfig')['tsserver'].setup {
|
||||
-- on_attach = on_attach,
|
||||
-- flags = lsp_flags,
|
||||
-- settings = {
|
||||
-- init_options = {
|
||||
-- host_info = 'neovim'
|
||||
-- }
|
||||
-- }
|
||||
-- }
|
||||
-- end,
|
||||
['yamlls'] = function()
|
||||
require('lspconfig')["yamlls"].setup {
|
||||
on_attach = on_attach,
|
||||
|
@ -100,7 +100,7 @@ require 'nvim-tree'.setup {
|
||||
view = {
|
||||
width = 35,
|
||||
hide_root_folder = false,
|
||||
side = 'left',
|
||||
side = 'right',
|
||||
mappings = {
|
||||
custom_only = false,
|
||||
list = {}
|
||||
|
Loading…
Reference in New Issue
Block a user