add eslint
This commit is contained in:
parent
fa42005ff8
commit
41f125d4ca
1 changed files with 5 additions and 1 deletions
|
|
@ -80,10 +80,14 @@ in {
|
|||
" disable empty line tildes
|
||||
set fcs=eob:\
|
||||
|
||||
let g:coc_global_extensions = ['coc-tsserver', 'coc-rust-analyzer', 'coc-flutter']
|
||||
let g:coc_global_extensions = ['coc-eslint', 'coc-tsserver', 'coc-rust-analyzer', 'coc-flutter']
|
||||
'';
|
||||
};
|
||||
xdg.configFile."nvim/coc-settings.json".text = builtins.toJSON {
|
||||
"eslint.enable" = true;
|
||||
"eslint.options" = {
|
||||
configFile = "./.eslintrc.json";
|
||||
};
|
||||
"rust-analyzer.lens.enable" = false;
|
||||
"rust-analyzer.inlayHints.enable" = false;
|
||||
"rust-analyzer.serverPath" = pkgs.rust-analyzer + "/bin/rust-analyzer";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue