neovim: correct yml indent and add clipboard support

This commit is contained in:
steveej 2016-03-27 21:45:37 +02:00
parent 478a117903
commit 0ace576125

View file

@ -2,6 +2,7 @@
let let
commonPkgs = with pkgs; [ commonPkgs = with pkgs; [
neovim neovim
xsel
]; ];
goPkgs = with pkgs.goPackages; [ goPkgs = with pkgs.goPackages; [
go go
@ -161,6 +162,13 @@ in {
au FileType python setlocal define=^\s*\\(def\\\\|class\\) au FileType python setlocal define=^\s*\\(def\\\\|class\\)
augroup END augroup END
" }}} " }}}
" YAML {{{
augroup ft_yaml
au!
setlocal autoindent sw=2 et tabstop=2 shiftwidth=2 softtabstop=2
augroup END
" }}}
''; '';
# vam.knownPlugins = pkgs.vimPlugins; # optional # vam.knownPlugins = pkgs.vimPlugins; # optional
@ -188,6 +196,7 @@ in {
pandocfilters pandocfilters
htmltreediff htmltreediff
html5lib html5lib
dbus
] ++ pythonPkgs; ] ++ pythonPkgs;
withPython3 = false; withPython3 = false;
}; };