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
|
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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue