remove flow configuration for javascript, update cargo sha

This commit is contained in:
Haak Saxberg 2021-06-17 00:15:17 +00:00
parent 11b756a0a5
commit 926e39a5fc

View file

@ -13,7 +13,7 @@ let
sha256 = "06gh3v35bdr0qsp459183br4hpmwm36d2r9fjyx9j5jfpzggqg51";
};
cargoSha256 = "0f0a88pv4myavdrznz68f5jfc82y8whrdwcyp1q8i6nrn606csi7";
cargoSha256 = "17lr4pc2fjcgvx0p4vpkwx3mg9jadb4lygbwri0blmnkqql8xlh3";
nativeBuildInputs = [ pkgs.pkgconfig ];
buildInputs = [ pkgs.openssl ] ++ (if pkgs.stdenv.isDarwin then [ pkgs.libiconv pkgs.darwin.apple_sdk.frameworks.Security ] else []);
};
@ -213,7 +213,6 @@ in {
programs.neovim = {
enable = true;
vimAlias = true;
withPython = true;
plugins = with pkgs.vimPlugins; [
vim-sensible
vim-startify
@ -261,6 +260,7 @@ in {
\ 'javascript.jsx': ['prettier'],
\ 'javascriptreact': ['prettier'],
\ 'typescriptreact': ['prettier'],
\ 'typescript': ['prettier'],
\ 'ruby': ['sorbet'],
\ 'rust': ['rustfmt'],
\ 'elixir': ['mix_format']
@ -299,9 +299,6 @@ in {
" LanguageClient-neovim
let g:LanguageClient_serverCommands = {
\ 'elm': ['elm-language-server'],
\ 'javascript': ['flow', 'lsp'],
\ 'javascript.jsx': ['flow', 'lsp'],
\ 'javascriptreact': ['flow', 'lsp'],
\ 'rust': ['rustup', 'run', 'stable', 'rls'],
\ 'ruby': ['bundle', 'exec', 'srb', 'tc', '--lsp', '.'],
\ }