1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

fix(vim): make a tiny bit faster

This commit is contained in:
2021-12-28 14:48:29 +01:00
parent 5b131a5a30
commit 869c6e6a08
2 changed files with 4 additions and 9 deletions

View File

@@ -25,18 +25,13 @@
customRC = builtins.readFile <niveum/lib/vim/init.vim>; customRC = builtins.readFile <niveum/lib/vim/init.vim>;
packages.nvim = with pkgs.vimPlugins; { packages.nvim = with pkgs.vimPlugins; {
start = [ start = [
# cheat-sh-vim
# deoplete-nvim
# vim-abolish
ale ale
fzf-vim fzf-vim
fzfWrapper fzfWrapper
goyo
supertab supertab
undotree undotree
tabular tabular
vimwiki vimwiki
vim-256noir
vim-colors-paramount vim-colors-paramount
vim-commentary vim-commentary
vim-css-color vim-css-color
@@ -44,13 +39,9 @@
vim-fetch vim-fetch
vim-fugitive vim-fugitive
vim-gitgutter vim-gitgutter
vim-pandoc
vim-pandoc-syntax # vim-pandoc-after
vim-repeat vim-repeat
vim-sensible vim-sensible
# vim-startify
vim-surround vim-surround
vim-mail
]; ];
opt = [ opt = [
csv csv
@@ -72,6 +63,9 @@
vim-reason-plus vim-reason-plus
vim-toml vim-toml
vimtex vimtex
vim-pandoc
vim-pandoc-syntax # vim-pandoc-after
vim-256noir
]; ];
}; };
}; };

View File

@@ -132,6 +132,7 @@ if has("autocmd")
autocmd bufnewfile,bufread *.jq packadd jq.vim autocmd bufnewfile,bufread *.jq packadd jq.vim
autocmd bufnewfile,bufread *.re packadd vim-reason-plus | set filetype=reason autocmd bufnewfile,bufread *.re packadd vim-reason-plus | set filetype=reason
autocmd bufnewfile,bufread *.journal packadd vim-ledger | set filetype=ledger shiftwidth=4 autocmd bufnewfile,bufread *.journal packadd vim-ledger | set filetype=ledger shiftwidth=4
autocmd bufnewfile,bufread *.md packadd vim-pandoc | packadd vim-pandoc-syntax
autocmd bufnewfile,bufread urls,config set filetype=conf autocmd bufnewfile,bufread urls,config set filetype=conf
autocmd bufnewfile,bufread *.elm packadd elm-vim | set filetype=elm shiftwidth=4 autocmd bufnewfile,bufread *.elm packadd elm-vim | set filetype=elm shiftwidth=4
autocmd bufnewfile,bufread *.dhall packadd dhall-vim | set filetype=dhall autocmd bufnewfile,bufread *.dhall packadd dhall-vim | set filetype=dhall