summaryrefslogtreecommitdiffstats
path: root/after/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--after/ftplugin/cabal.vim2
-rw-r--r--after/ftplugin/coffee.vim2
-rw-r--r--after/ftplugin/haskell.vim2
-rw-r--r--after/ftplugin/idris.vim2
-rw-r--r--after/ftplugin/javascript.vim4
-rw-r--r--after/ftplugin/llvm.vim2
-rw-r--r--after/ftplugin/puppet.vim2
-rw-r--r--after/ftplugin/typescript.vim2
-rw-r--r--after/ftplugin/yaml.vim2
9 files changed, 20 insertions, 0 deletions
diff --git a/after/ftplugin/cabal.vim b/after/ftplugin/cabal.vim
index 8e485bbd..8009502d 100644
--- a/after/ftplugin/cabal.vim
+++ b/after/ftplugin/cabal.vim
@@ -1,5 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1
+
setlocal comments=s1fl:{-,mb:-,ex:-},:--
setlocal iskeyword+=-,.,*
setlocal commentstring=--\ %s
+
endif
diff --git a/after/ftplugin/coffee.vim b/after/ftplugin/coffee.vim
index 2e3f7170..27c00bcb 100644
--- a/after/ftplugin/coffee.vim
+++ b/after/ftplugin/coffee.vim
@@ -1,7 +1,9 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cjsx') == -1
+
if exists("loaded_matchit")
let b:match_ignorecase = 0
let b:match_words = '(:),\[:\],{:},<:>,' .
\ '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>'
endif
+
endif
diff --git a/after/ftplugin/haskell.vim b/after/ftplugin/haskell.vim
index 0255bdd7..a617329c 100644
--- a/after/ftplugin/haskell.vim
+++ b/after/ftplugin/haskell.vim
@@ -1,4 +1,6 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1
+
setlocal comments=s1fl:{-,mb:\ \ ,ex:-},:--
setlocal iskeyword+='
+
endif
diff --git a/after/ftplugin/idris.vim b/after/ftplugin/idris.vim
index c006b7ab..6c6815d5 100644
--- a/after/ftplugin/idris.vim
+++ b/after/ftplugin/idris.vim
@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'idris') == -1
+
setlocal iskeyword+='
+
endif
diff --git a/after/ftplugin/javascript.vim b/after/ftplugin/javascript.vim
index 55cb0411..4c1549a8 100644
--- a/after/ftplugin/javascript.vim
+++ b/after/ftplugin/javascript.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1
+
" Vim filetype plugin file
" Language: JavaScript
" Maintainer: vim-javascript community
@@ -11,8 +12,10 @@ if exists('b:undo_ftplugin')
else
let b:undo_ftplugin = 'setlocal iskeyword< suffixesadd<'
endif
+
endif
if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1)
+
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Vim ftplugin file
"
@@ -44,4 +47,5 @@ augroup jsx_comment
augroup end
setlocal suffixesadd+=.jsx
+
endif
diff --git a/after/ftplugin/llvm.vim b/after/ftplugin/llvm.vim
index ece9019f..d67c94b5 100644
--- a/after/ftplugin/llvm.vim
+++ b/after/ftplugin/llvm.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'llvm') == -1
+
" Copyright (c) 2018 rhysd
"
" Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -472,4 +473,5 @@ endfunction
if !exists(':LLI')
command! -buffer -nargs=? -bar -complete=file LLI call <SID>run_lli(<f-args>)
endif
+
endif
diff --git a/after/ftplugin/puppet.vim b/after/ftplugin/puppet.vim
index f78ebb80..6ddb64e0 100644
--- a/after/ftplugin/puppet.vim
+++ b/after/ftplugin/puppet.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'puppet') == -1
+
if !exists('g:puppet_align_hashes')
let g:puppet_align_hashes = 1
endif
@@ -6,4 +7,5 @@ endif
if g:puppet_align_hashes
inoremap <buffer> <silent> => =><Esc>:call puppet#align#AlignHashrockets()<CR>$a
endif
+
endif
diff --git a/after/ftplugin/typescript.vim b/after/ftplugin/typescript.vim
index ab1aedc8..b5deef84 100644
--- a/after/ftplugin/typescript.vim
+++ b/after/ftplugin/typescript.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1)
+
" modified from html.vim
" For matchit plugin
if exists("loaded_matchit")
@@ -22,4 +23,5 @@ augroup jsx_comment
augroup end
setlocal suffixesadd+=.tsx
+
endif
diff --git a/after/ftplugin/yaml.vim b/after/ftplugin/yaml.vim
index 1b631079..db608fa4 100644
--- a/after/ftplugin/yaml.vim
+++ b/after/ftplugin/yaml.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'yaml') == -1
+
" Vim indent file
" Language: Yaml
" Author: Henrique Barcelos
@@ -6,4 +7,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'yaml') == -1
" URL: https://github.com/hjpbarcelos
setlocal autoindent sw=2 ts=2 expandtab
" vim:set sw=2:
+
endif