diff options
| author | Marco Kellershoff <1384938+gorillamoe@users.noreply.github.com> | 2024-10-07 07:17:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-07 13:17:44 +0800 |
| commit | 3aca6d491eda5c23542b57c861de75b72dda2ff9 (patch) | |
| tree | 60c215e7dd9ecddefdff1300e5419733cc536eef /lua | |
| parent | refactor: minor cleanup (diff) | |
| download | nvim-lspconfig-3aca6d491eda5c23542b57c861de75b72dda2ff9.tar nvim-lspconfig-3aca6d491eda5c23542b57c861de75b72dda2ff9.tar.gz nvim-lspconfig-3aca6d491eda5c23542b57c861de75b72dda2ff9.tar.bz2 nvim-lspconfig-3aca6d491eda5c23542b57c861de75b72dda2ff9.tar.lz nvim-lspconfig-3aca6d491eda5c23542b57c861de75b72dda2ff9.tar.xz nvim-lspconfig-3aca6d491eda5c23542b57c861de75b72dda2ff9.tar.zst nvim-lspconfig-3aca6d491eda5c23542b57c861de75b72dda2ff9.zip | |
feat(configs): add kulala_ls (#3360)
A minimal language server for HTTP syntax.
See: https://github.com/mistweaverco/kulala-ls
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/configs/kulala_ls.lua | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lua/lspconfig/configs/kulala_ls.lua b/lua/lspconfig/configs/kulala_ls.lua new file mode 100644 index 00000000..8113552c --- /dev/null +++ b/lua/lspconfig/configs/kulala_ls.lua @@ -0,0 +1,23 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'kulala-ls', '--stdio' }, + filetypes = { 'http' }, + root_dir = util.find_git_ancestor, + single_file_support = true, + }, + docs = { + description = [[ +https://github.com/mistweaverco/kulala-ls + +A minimal language server for HTTP syntax. +]], + default_config = { + cmd = { 'kulala-ls', '--stdio' }, + filetypes = { 'http' }, + root_dir = [[root_pattern('.git')]], + single_file_support = true, + }, + }, +} |
