diff --git a/.vim/vimrc b/.vim/vimrc index 3cdbd5b..bf65f9d 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -119,6 +119,7 @@ Plug 'https://git.sr.ht/~sircmpwn/hare.vim', { 'for': 'hare' } Plug 'ziglang/zig.vim', { 'for': 'zig' } Plug 'ollykel/v-vim', { 'for': 'v' } Plug 'bfrg/vim-cpp-modern', { 'for': ['cpp', 'cmake'] } +Plug 'vmchale/dhall-vim', { 'for': 'dhall' } Plug 'isobit/vim-caddyfile', { 'for': 'caddyfile' } Plug 'chikamichi/mediawiki.vim', { 'for': 'wiki' } Plug 's3rvac/vim-syntax-redminewiki', { 'for': 'redminewiki' } @@ -1032,6 +1033,17 @@ if executable('terraform-ls') \ }) augroup END endif +" this has some untold deps (on archlinux): haskell-some haskell-lsp1.4 haskell-lsp-types1.4 +if executable('dhall-lsp-server') + augroup lsp_dhall + autocmd! + au User lsp_setup call lsp#register_server({ + \ 'name': 'dhall-lsp-server', + \ 'cmd': {server_info->[&shell, &shellcmdflag, 'dhall-lsp-server']}, + \ 'allowlist': ['dhall'], + \ }) + augroup END +endif if executable('pyls') " pip install python-language-server augroup lsp_py