mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-09 20:13:51 -05:00
Add support for basic languages
coffee, cucumbeer, eruby, haml, haskell, javascript, json, less, nginx, ocaml, ruby, sass, scss, slim, stylus, textile, tmux
This commit is contained in:
13
ftplugin/haskell.vim
Normal file
13
ftplugin/haskell.vim
Normal file
@@ -0,0 +1,13 @@
|
||||
"
|
||||
" general Haskell source settings
|
||||
" (shared functions are in autoload/haskellmode.vim)
|
||||
"
|
||||
" (Claus Reinke, last modified: 28/04/2009)
|
||||
"
|
||||
" part of haskell plugins: http://projects.haskell.org/haskellmode-vim
|
||||
" please send patches to <claus.reinke@talk21.com>
|
||||
|
||||
" try gf on import line, or ctrl-x ctrl-i, or [I, [i, ..
|
||||
setlocal include=^import\\s*\\(qualified\\)\\?\\s*
|
||||
setlocal includeexpr=substitute(v:fname,'\\.','/','g').'.'
|
||||
setlocal suffixesadd=hs,lhs,hsc
|
||||
Reference in New Issue
Block a user