summaryrefslogtreecommitdiffstats
path: root/tv/2configs/vim.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-02-16 19:29:40 +0100
committertv <tv@krebsco.de>2019-02-16 19:29:40 +0100
commitfc1e69f9d13e28e3bceb8bfd1733b87cc6e57174 (patch)
treedc50533883d58738fdef55e56dc4d475f61b32d2 /tv/2configs/vim.nix
parentcfb756c7b10408d1de5dfc5c4eb7742b10ee4f55 (diff)
tv vim: add xmodmap
Diffstat (limited to 'tv/2configs/vim.nix')
-rw-r--r--tv/2configs/vim.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix
index 20e1d650f..2dd2e742b 100644
--- a/tv/2configs/vim.nix
+++ b/tv/2configs/vim.nix
@@ -347,6 +347,7 @@ let {
(writerName ''\([^"]*\.\)\?vimrc'')
];
xdefaults = {};
+ xmodmap = {};
}))}
" Clear syntax that interferes with nixINSIDE_DOLLAR_CURLY.
@@ -392,6 +393,9 @@ let {
\ matchgroup=sedSemicolon end=";\|$"
\ contains=sedWhitespace
'';
+ "/syntax/xmodmap.vim".text = ''
+ syn match xmodmapComment /^\s*!.*/
+ '';
}))
];