diff options
| author | Ricardo Marliere <ricardo@marliere.net> | 2023-09-28 02:42:20 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-28 13:42:20 +0800 |
| commit | 9beec8083425df74072d7956c447556b2766fccf (patch) | |
| tree | ffd1cbcebcd60f068d0567967d9567b3c317505b /lua/lspconfig/server_configurations/mutt_ls.lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-9beec8083425df74072d7956c447556b2766fccf.tar nvim-lspconfig-9beec8083425df74072d7956c447556b2766fccf.tar.gz nvim-lspconfig-9beec8083425df74072d7956c447556b2766fccf.tar.bz2 nvim-lspconfig-9beec8083425df74072d7956c447556b2766fccf.tar.lz nvim-lspconfig-9beec8083425df74072d7956c447556b2766fccf.tar.xz nvim-lspconfig-9beec8083425df74072d7956c447556b2766fccf.tar.zst nvim-lspconfig-9beec8083425df74072d7956c447556b2766fccf.zip | |
feat: add mutt-language-server support (#2834)
Diffstat (limited to 'lua/lspconfig/server_configurations/mutt_ls.lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/mutt_ls.lua | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/mutt_ls.lua b/lua/lspconfig/server_configurations/mutt_ls.lua new file mode 100644 index 00000000..d06bb9ff --- /dev/null +++ b/lua/lspconfig/server_configurations/mutt_ls.lua @@ -0,0 +1,25 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'mutt-language-server' }, + filetypes = { 'python' }, + root_dir = util.find_git_ancestor(), + single_file_support = true, + settings = {}, + }, + docs = { + description = [[ +https://github.com/neomutt/mutt-language-server + +A language server for (neo)mutt's muttrc. It can be installed via pip. + +```sh +pip install mutt-language-server +``` + ]], + default_config = { + root_dir = [[util.find_git_ancestor]], + }, + }, +} |
