1
0

Split plugins into files by category

This commit is contained in:
2025-09-21 18:21:43 +02:00
parent f33ecb78ee
commit 78698d82e6
13 changed files with 259 additions and 267 deletions

View File

@@ -0,0 +1,85 @@
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
}