neovim: correct yml indent and add clipboard support
This commit is contained in:
parent
478a117903
commit
0ace576125
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue