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 | a6ea667132925a98a3b1fa613a33c6e23cf35701 (patch) | |
tree | 67ab7601b4c0108b2458247863b47504655ddec5 /tv | |
parent | b1d6781af067876dbd7b88b4b038f048d3e8e3f5 (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=+|]+ |