diff options
Diffstat (limited to 'ftplugin')
| -rw-r--r-- | ftplugin/dune.vim | 2 | ||||
| -rw-r--r-- | ftplugin/julia.vim | 2 | ||||
| -rw-r--r-- | ftplugin/kotlin.vim | 2 | ||||
| -rw-r--r-- | ftplugin/mlir.vim | 16 | ||||
| -rw-r--r-- | ftplugin/sexplib.vim | 2 | 
5 files changed, 20 insertions, 4 deletions
| diff --git a/ftplugin/dune.vim b/ftplugin/dune.vim index 9d86d0a5..4f78d7c6 100644 --- a/ftplugin/dune.vim +++ b/ftplugin/dune.vim @@ -19,6 +19,6 @@ set lisp  " Comment string  setl commentstring=;\ %s -setl comments=:; +setl comments=n:;  setl iskeyword+=#,?,.,/ diff --git a/ftplugin/julia.vim b/ftplugin/julia.vim index 618e16d8..08aa2f8e 100644 --- a/ftplugin/julia.vim +++ b/ftplugin/julia.vim @@ -26,7 +26,7 @@ setlocal fo-=t fo+=croql  let b:julia_vim_loaded = 1  let b:undo_ftplugin = "setlocal include< suffixesadd< comments< commentstring<" -      \ . " define< fo< shiftwidth< expandtab< indentexpr< indentkeys< cinoptions< omnifunc<" +      \ . " define< fo< shiftwidth< expandtab< indentexpr< indentkeys< cinoptions< completefunc<"        \ . " | unlet! b:commentary_format"        \ . " | unlet! b:smartcomment_force_linemode"        \ . " | unlet! b:julia_vim_loaded" diff --git a/ftplugin/kotlin.vim b/ftplugin/kotlin.vim index e06ce043..ca0b35fc 100644 --- a/ftplugin/kotlin.vim +++ b/ftplugin/kotlin.vim @@ -5,5 +5,5 @@ endif  if exists('b:did_ftplugin') | finish | endif  let b:did_ftplugin = 1 -setlocal comments=:// +setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://  setlocal commentstring=//\ %s diff --git a/ftplugin/mlir.vim b/ftplugin/mlir.vim new file mode 100644 index 00000000..baedaee4 --- /dev/null +++ b/ftplugin/mlir.vim @@ -0,0 +1,16 @@ +if polyglot#init#is_disabled(expand('<sfile>:p'), 'llvm', 'ftplugin/mlir.vim') +  finish +endif + +" Vim filetype plugin file +" Language: MLIR Assembly +" Maintainer: The MLIR team + +if exists("b:did_ftplugin") +  finish +endif +let b:did_ftplugin = 1 + +setlocal softtabstop=2 shiftwidth=2 +setlocal expandtab +setlocal comments+=:// diff --git a/ftplugin/sexplib.vim b/ftplugin/sexplib.vim index d98f2d15..976e3897 100644 --- a/ftplugin/sexplib.vim +++ b/ftplugin/sexplib.vim @@ -16,4 +16,4 @@ let b:did_ftplugin=1  " Comment string  setl commentstring=;\ %s -setl comments=:; +setl comments=n:; | 
