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 | cc063ceb8fc334b3641d5483dc05d1b7ce42c1db (patch) | |
tree | 1c95fa392a0360f060796391f27a649c50ebe611 | |
parent | 21a0d53f2fbe652db372c11349e066d66b75e66e (diff) |
tv vim haskell: isk+='
-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=+|]+ |