mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] Add rescript plugin & coc config
This commit is contained in:
parent
913bc6896b
commit
6923424bf0
2 changed files with 9 additions and 1 deletions
|
@ -17,13 +17,20 @@
|
||||||
filetypes = [ "nix" ];
|
filetypes = [ "nix" ];
|
||||||
rootPatterns = [ "flake.nix" ];
|
rootPatterns = [ "flake.nix" ];
|
||||||
"settings.nil" = {
|
"settings.nil" = {
|
||||||
"formatting.command" = ["nixpkgs-fmt"];
|
"formatting.command" = [ "nixpkgs-fmt" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"go.goPlsOptions" = {
|
"go.goPlsOptions" = {
|
||||||
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" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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 {{{
|
||||||
|
|
Loading…
Reference in a new issue