1
0
Files
dotfiles/.config/nvim/lua/config/lspserver.lua

86 lines
1.5 KiB
Lua

require'lsphelp'
vim.lsp.config('hls', {
on_attach = default_on_attach,
capabilities = _G['capabilities'],
flags = {
debounce_text_changes = 150,
},
settings = {
haskell = {
plugin = {
stan = {
globalOn = false
}
}
}
}
})
vim.lsp.enable('hls')
vim.lsp.config('intelephense', {
on_attach = default_on_attach,
flags = {
debounce_text_changes = 150
},
init_options = {
licenceKey = os.getenv('HOME') .. '/Documents/Schluessel/intelephense.key',
storagePath = '/tmp/intelephense'
},
capabilities = _G['capabilities'],
settings = {
intelephense = {
environment = {
phpVersion = '8.2.0'
}
}
}
})
vim.lsp.enable('intelephense')
vim.lsp.config('clangd', {
on_attach = default_on_attach,
capabilities = _G['capabilities']
})
vim.lsp.enable('clangd')
require('flutter-tools').setup {
outline = {
open_cmd = "Vista"
},
lsp = {
on_attach = default_on_attach,
capabilities = _G['capabilities']
}
}
vim.lsp.config('twiggy_language_server', {
on_attach = default_on_attach,
capabilities = _G['capabilities'],
settings = {
twiggy = {
framework = 'symfony',
phpExecutable = 'php',
symfonyConsolePath = 'bin/console',
diagnostics = {
twigCsFixer = false
}
}
}
})
vim.lsp.enable('twiggy_language_server')
vim.g.vim_vue_plugin_config = {
syntax = {
template = {'html'},
script = {'javascript'},
style = {'css'},
},
full_syntax = {},
initial_indent = {},
attribute = 0,
keyword = 0,
foldexpr = 0,
debug = 0
}