summaryrefslogtreecommitdiffstats
path: root/ftplugin
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-03-10 17:22:05 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2021-03-10 17:22:05 +0100
commiteda351ca897ca0270ed8b01798af3679914683a1 (patch)
tree5340822acd25ecd12063f08b1e6d0bed4a891a82 /ftplugin
parentcc63193ce82c1e7b9ee2ad7d0ddd14e8394211ef (diff)
downloadvim-polyglot-eda351ca897ca0270ed8b01798af3679914683a1.tar.gz
vim-polyglot-eda351ca897ca0270ed8b01798af3679914683a1.zip
Update
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/dune.vim2
-rw-r--r--ftplugin/julia.vim2
-rw-r--r--ftplugin/kotlin.vim2
-rw-r--r--ftplugin/mlir.vim16
-rw-r--r--ftplugin/sexplib.vim2
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:;