diff options
author | tv <tv@krebsco.de> | 2019-02-02 20:24:11 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-02-08 05:19:48 +0100 |
commit | 51e88ec80f5a4b4e38029698608124e8ff2cfe70 (patch) | |
tree | 67ab7601b4c0108b2458247863b47504655ddec5 /tv | |
parent | 35091bbf91cc997f67aa7289be29a9115337fd99 (diff) |
tv vim haskell: isk+='
Diffstat (limited to 'tv')
-rw-r--r-- | tv/2configs/vim.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix index 7e37ef3..fe14828 100644 --- a/tv/2configs/vim.nix +++ b/tv/2configs/vim.nix @@ -129,6 +129,19 @@ let { command! -n=0 -bar ShowSyntax :call ShowSyntax() ''; }))) + ((rtp: rtp // { inherit rtp; }) (pkgs.write "vim-tv" { + # + # Haskell + # + "/ftplugin/haskell.vim".text = '' + if exists("g:vim_tv_ftplugin_haskell_loaded") + finish + endif + let g:vim_tv_ftplugin_haskell_loaded = 1 + + setlocal iskeyword+=' + ''; + })) ((rtp: rtp // { inherit rtp; }) (pkgs.write "vim-syntax-nix-nested" { "/syntax/haskell.vim".text = '' syn region String start=+\[[[:alnum:]]*|+ end=+|]+ |