aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorMarco Kellershoff <1384938+gorillamoe@users.noreply.github.com>2024-10-07 07:17:44 +0200
committerGitHub <noreply@github.com>2024-10-07 13:17:44 +0800
commit3aca6d491eda5c23542b57c861de75b72dda2ff9 (patch)
tree60c215e7dd9ecddefdff1300e5419733cc536eef /lua
parentrefactor: minor cleanup (diff)
downloadnvim-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.lua23
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,
+ },
+ },
+}