From 0ace576125a2780b484279df779d0e6531e6844c Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Sun, 27 Mar 2016 21:45:37 +0200 Subject: [PATCH] neovim: correct yml indent and add clipboard support --- configuration/common/pkg/neovim.nix | 9 +++++++++ 1 file changed, 9 insertions(+) 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; };