Completed centralized update
This commit is contained in:
parent
ef5b48d142
commit
83c9c72688
15 changed files with 328 additions and 138 deletions
|
|
@ -8,7 +8,9 @@ let
|
|||
cargo-watch
|
||||
clippy
|
||||
rust-analyzer
|
||||
rustup
|
||||
];
|
||||
cppPlugins = with pkgs; [
|
||||
clang-tools
|
||||
];
|
||||
pythonPlugins = with pkgs.python38Packages; [
|
||||
pyls-black
|
||||
|
|
@ -79,8 +81,6 @@ in
|
|||
];
|
||||
hooks = [
|
||||
{ name = "BufCreate"; option = ".*"; commands = "editorconfig-load"; }
|
||||
{ name = "InsertCompletionHide"; option = ".*"; commands = builtins.concatStringsSep "\n" [ "unmap window insert <tab> <c-n>" "unmap window insert <s-tab> <c-p>" ]; }
|
||||
{ name = "InsertCompletionShow"; option = ".*"; commands = builtins.concatStringsSep "\n" [ "map window insert <tab> <c-n>" "map window insert <s-tab> <c-p>" ]; }
|
||||
{ name = "ModuleLoaded"; option = "auto-pairs"; commands = "auto-pairs-enable"; }
|
||||
{ name = "ModuleLoaded"; option = "powerline"; commands = builtins.concatStringsSep "\n" [ "powerline-enable" ]; }
|
||||
{ name = "WinSetOption"; option = "filetype=(rust|python|c|cpp|latex|javascript|go|nix)"; commands = builtins.concatStringsSep "\n" [ "lsp-enable-window" ]; }
|
||||
|
|
@ -113,7 +113,7 @@ in
|
|||
with nixpkgs; [
|
||||
kakounePlugins.connect-kak
|
||||
]
|
||||
) ++ rustPlugins ++ pythonPlugins ++ nixPlugins ++ spellingPlugins ++ dataFormats;
|
||||
) ++ rustPlugins ++ cppPlugins ++ pythonPlugins ++ nixPlugins ++ spellingPlugins ++ dataFormats;
|
||||
};
|
||||
|
||||
xdg.configFile."kak-lsp/kak-lsp.toml".source = ../configs/kak-lsp/kak-lsp.toml;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue