diff options
| author | Gaƫtan Lehmann <glehmann@users.noreply.github.com> | 2024-04-18 08:12:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-18 14:12:35 +0800 |
| commit | d65d26a89033a02e222c6cad0b6aa12d26e7f0a9 (patch) | |
| tree | 568fe85f442b5855ad4b4719a2d6d2af561a1c1f /lua | |
| parent | fix(gopls): GOMODCACHE is now found in gitbash #3064 (diff) | |
| download | nvim-lspconfig-d65d26a89033a02e222c6cad0b6aa12d26e7f0a9.tar nvim-lspconfig-d65d26a89033a02e222c6cad0b6aa12d26e7f0a9.tar.gz nvim-lspconfig-d65d26a89033a02e222c6cad0b6aa12d26e7f0a9.tar.bz2 nvim-lspconfig-d65d26a89033a02e222c6cad0b6aa12d26e7f0a9.tar.lz nvim-lspconfig-d65d26a89033a02e222c6cad0b6aa12d26e7f0a9.tar.xz nvim-lspconfig-d65d26a89033a02e222c6cad0b6aa12d26e7f0a9.tar.zst nvim-lspconfig-d65d26a89033a02e222c6cad0b6aa12d26e7f0a9.zip | |
feat: add earthlyls configuration (#3111)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/earthlyls.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/earthlyls.lua b/lua/lspconfig/server_configurations/earthlyls.lua new file mode 100644 index 00000000..5b843eb1 --- /dev/null +++ b/lua/lspconfig/server_configurations/earthlyls.lua @@ -0,0 +1,16 @@ +local util = require 'lspconfig/util' + +return { + default_config = { + cmd = { 'earthlyls' }, + filetypes = { 'earthfile' }, + root_dir = util.root_pattern 'Earthfile', + }, + docs = { + description = [[ +https://github.com/glehmann/earthlyls + +A fast language server for earthly. +]], + }, +} |
