summaryrefslogtreecommitdiffstats
path: root/jeschli/2configs/vim.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-01-30 21:07:48 +0100
committermakefu <github@syntax-fehler.de>2018-01-30 21:07:48 +0100
commitfac9f4d2a0d855e4b27244df6a3bb831e0305f6b (patch)
tree1412cf1283c90199ec5c3abbe3d87a6035f8e66b /jeschli/2configs/vim.nix
parentb31a37799eff274215d4cd9d435a9c16d496a88c (diff)
parentffc294575cb59585c3bfb6b85fa45fb69cdf1d41 (diff)
Merge branch 'master' of prism:stockholm
Diffstat (limited to 'jeschli/2configs/vim.nix')
-rw-r--r--jeschli/2configs/vim.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/jeschli/2configs/vim.nix b/jeschli/2configs/vim.nix
index 65ce7dfa4..7721b1d40 100644
--- a/jeschli/2configs/vim.nix
+++ b/jeschli/2configs/vim.nix
@@ -20,6 +20,7 @@ let
sha256 = "1z3yhhbmbzfw68qjzyvpbmlyv2a1p814sy5q2knn04kcl30vx94a";
};
};
+
in {
environment.systemPackages = [
(pkgs.vim_configurable.customize {
@@ -65,11 +66,17 @@ in {
let g:molokai_original = 1
let g:rehash256 = 1
'';
-
+ settingsForElm = ''
+ let g:polyglot_disabled = ['elm']
+ let g:elm_detailed_complete = 1
+ let g:elm_format_autosave = 1
+ let g:elm_syntastic_show_warnings = 1
+ '';
in ''
${colorscheme}
${remapStatements}
${setStatements}
+ ${settingsForElm}
${settingsForGo}
" I dont know what this line is about
autocmd BufNewFile,BufRead *.go setlocal noexpandtab tabstop=4 shiftwidth=4
@@ -85,6 +92,7 @@ in {
"surround"
"Syntastic"
"undotree"
+ "elm-vim"
];
}
{ names = [ "vim-addon-nix" ]; ft_regex = "^nix\$"; }