[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

@ -17,13 +17,20 @@
filetypes = [ "nix" ];
rootPatterns = [ "flake.nix" ];
"settings.nil" = {
"formatting.command" = ["nixpkgs-fmt"];
"formatting.command" = [ "nixpkgs-fmt" ];
};
};
"go.goPlsOptions" = {
completion = 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-dispatch')
" }}}
call s:plug('rescript-lang/vim-rescript')
" }}}
" coc {{{