[nvim] Add rescript plugin & coc config

This commit is contained in:
Alyxia Sother 2024-01-15 14:00:32 +01:00
parent 913bc6896b
commit 6923424bf0
No known key found for this signature in database
GPG key ID: 01E16C4E775A37E4
2 changed files with 9 additions and 1 deletions

View file

@ -24,6 +24,13 @@
completion = true; completion = true;
completeUnimported = true; completeUnimported = true;
}; };
rescript = {
enable = true;
command = "rescript-language-server";
args = [ "--node-ipc" ];
filetypes = [ "rescript" ];
rootPatterns = [ "rescript.json" "bsconfig.json" ];
};
}; };
}; };
}; };

View file

@ -46,6 +46,7 @@ let s:plug = funcref('dotfiles#plugman#register')
call s:plug('tpope/vim-projectionist') call s:plug('tpope/vim-projectionist')
call s:plug('tpope/vim-dispatch') call s:plug('tpope/vim-dispatch')
" }}} " }}}
call s:plug('rescript-lang/vim-rescript')
" }}} " }}}
" coc {{{ " coc {{{