Compare commits

...

3 Commits

Author SHA1 Message Date
mightypanders
8b1abcfda9 Merge branch 'master' of https://gitea.brudi.xyz/kenobi/dotfiles 2023-06-01 13:01:43 +02:00
mightypanders
58fbb0a0a0 nvim tree to the right 2023-06-01 12:59:57 +02:00
mightypanders
9c6fb0b1d1 remove ty lsp, vstls 2023-06-01 12:59:42 +02:00
4 changed files with 16 additions and 44 deletions

View File

@ -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()

View File

@ -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,

View File

@ -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,

View File

@ -100,7 +100,7 @@ require 'nvim-tree'.setup {
view = {
width = 35,
hide_root_folder = false,
side = 'left',
side = 'right',
mappings = {
custom_only = false,
list = {}