summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/editor/neovim/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-10-01 18:42:23 +0200
committermakefu <github@syntax-fehler.de>2021-10-01 18:42:23 +0200
commit51ef98874971ea12d26ed64ce6dcfea79b8097c0 (patch)
treefd72c98cf723d434ec1cfd077c7ee1bd5c77da95 /makefu/2configs/editor/neovim/default.nix
parenteacb221f243d48ccbdea3038f78ec60b3392ee9e (diff)
ma neovim: new plugin configuration
Diffstat (limited to 'makefu/2configs/editor/neovim/default.nix')
-rw-r--r--makefu/2configs/editor/neovim/default.nix50
1 files changed, 20 insertions, 30 deletions
diff --git a/makefu/2configs/editor/neovim/default.nix b/makefu/2configs/editor/neovim/default.nix
index c288212e9..e7e59373a 100644
--- a/makefu/2configs/editor/neovim/default.nix
+++ b/makefu/2configs/editor/neovim/default.nix
@@ -30,37 +30,27 @@
withPython3 = true;
# withNodeJs = true;
extraPython3Packages = (ps: with ps; [ python-language-server pyls-mypy black libxml2]);
- configure = {
- customRC = builtins.readFile ./vimrc;
- packages.myVimPackage = with pkgs.vimPlugins;
- {
- # loaded on launch
- start = [
- undotree
- vim-addon-nix
+ extraConfig = builtins.readFile ./vimrc;
+ plugins = with pkgs.vimPlugins;[
+ undotree
+ vim-addon-nix
- nerdtree # file manager
- commentary # comment stuff out based on language
- fugitive # full git integration
- vim-airline-themes # lean & mean status/tabline
- vim-airline # status bar
- gitgutter # git diff in the gutter (sign column)
- vim-trailing-whitespace # trailing whitspaces in red
- tagbar # F3 function overview
- ReplaceWithRegister # For better copying/replacing
- polyglot # Language pack
- vim-indent-guides # for displaying indent levels
- deoplete-nvim # general autocompletion
- deoplete-go
- ale
- molokai # color scheme
- ];
- # manually loadable by calling `:packadd $plugin-name`
- opt = [];
- # To automatically load a plugin when opening a filetype, add vimrc lines like:
- # autocmd FileType php :packadd phpCompletion
- };
- };
+ nerdtree # file manager
+ commentary # comment stuff out based on language
+ fugitive # full git integration
+ vim-airline-themes # lean & mean status/tabline
+ vim-airline # status bar
+ gitgutter # git diff in the gutter (sign column)
+ vim-trailing-whitespace # trailing whitspaces in red
+ tagbar # F3 function overview
+ ReplaceWithRegister # For better copying/replacing
+ polyglot # Language pack
+ vim-indent-guides # for displaying indent levels
+ deoplete-nvim # general autocompletion
+ deoplete-go
+ ale
+ molokai # color scheme
+ ];
};
};
}