diff options
| author | Massolari <douglasmassolari@hotmail.com> | 2022-12-01 11:53:24 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-01 22:53:24 +0800 |
| commit | 3170f47b5b09413cd08e18a99bab8fb9af4f2794 (patch) | |
| tree | 47f6224e62471b1ebf319e04005e3b6948f52542 /lua | |
| parent | fix: remove searched for message in lspinfo (#2274) (diff) | |
| download | nvim-lspconfig-3170f47b5b09413cd08e18a99bab8fb9af4f2794.tar nvim-lspconfig-3170f47b5b09413cd08e18a99bab8fb9af4f2794.tar.gz nvim-lspconfig-3170f47b5b09413cd08e18a99bab8fb9af4f2794.tar.bz2 nvim-lspconfig-3170f47b5b09413cd08e18a99bab8fb9af4f2794.tar.lz nvim-lspconfig-3170f47b5b09413cd08e18a99bab8fb9af4f2794.tar.xz nvim-lspconfig-3170f47b5b09413cd08e18a99bab8fb9af4f2794.tar.zst nvim-lspconfig-3170f47b5b09413cd08e18a99bab8fb9af4f2794.zip | |
fix: move gleam.lua to correct folder (#2279)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/gleam.lua | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/gleam.lua b/lua/lspconfig/server_configurations/gleam.lua new file mode 100644 index 00000000..ec5504ce --- /dev/null +++ b/lua/lspconfig/server_configurations/gleam.lua @@ -0,0 +1,25 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'gleam', 'lsp' }, + filetypes = { 'gleam' }, + root_dir = function(fname) + return util.root_pattern('gleam.toml', '.git')(fname) + end, + }, + docs = { + description = [[ +https://github.com/gleam-lang/gleam + +A language server for Gleam Programming Language. +[Installation](https://gleam.run/getting-started/installing/) + +It can be i +]], + default_config = { + cmd = { 'gleam', 'lsp' }, + root_dir = [[root_pattern("gleam.toml", ".git")]], + }, + }, +} |
