diff options
author | tv <tv@krebsco.de> | 2019-02-02 20:24:11 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-02-02 20:24:11 +0100 |
commit | 9335c2616a01d3d6e21288d79bd64024578e3c38 (patch) | |
tree | 8f4431d14264ef56b023ec278ac0ada921f06db4 /tv/2configs | |
parent | 5aea1da2e1e545caf8e8f41b2ce9d589562165c2 (diff) |
tv vim haskell: isk+='
Diffstat (limited to 'tv/2configs')
-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 7e37ef329..fe1482817 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=+|]+ |