diff --git a/configuration/common/pkg/neovim.nix b/configuration/common/pkg/neovim.nix index c362c5e..8dc5c66 100644 --- a/configuration/common/pkg/neovim.nix +++ b/configuration/common/pkg/neovim.nix @@ -2,6 +2,7 @@ let commonPkgs = with pkgs; [ neovim + xsel ]; goPkgs = with pkgs.goPackages; [ go @@ -161,6 +162,13 @@ in { au FileType python setlocal define=^\s*\\(def\\\\|class\\) 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 @@ -188,6 +196,7 @@ in { pandocfilters htmltreediff html5lib + dbus ] ++ pythonPkgs; withPython3 = false; };