summaryrefslogtreecommitdiff
path: root/mnv/runtime/ftplugin/idris2.mnv
diff options
context:
space:
mode:
authorMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-04 12:41:27 +0300
committerMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-04 12:41:27 +0300
commit4f2d36194b4f299aa7509d815c07121039ea833b (patch)
treef3ded014bad3a4c76ff6a22b8726ebaab68c3d13 /mnv/runtime/ftplugin/idris2.mnv
parent5b578e70c314723a3cde5c9bfc2be0bf1dadc93b (diff)
downloadProject-Tick-4f2d36194b4f299aa7509d815c07121039ea833b.tar.gz
Project-Tick-4f2d36194b4f299aa7509d815c07121039ea833b.zip
NOISSUE change uvim folder name to mnv
Signed-off-by: Mehmet Samet Duman <yongdohyun@projecttick.org>
Diffstat (limited to 'mnv/runtime/ftplugin/idris2.mnv')
-rw-r--r--mnv/runtime/ftplugin/idris2.mnv34
1 files changed, 34 insertions, 0 deletions
diff --git a/mnv/runtime/ftplugin/idris2.mnv b/mnv/runtime/ftplugin/idris2.mnv
new file mode 100644
index 0000000000..72f632a20f
--- /dev/null
+++ b/mnv/runtime/ftplugin/idris2.mnv
@@ -0,0 +1,34 @@
+" MNV ftplugin file
+" Language: Idris 2
+" Last Change: 2024 Nov 05
+" Maintainer: Idris Hackers (https://github.com/edwinb/idris2-mnv), Serhii Khoma <srghma@gmail.com>
+" License: MNV (see :h license)
+" Repository: https://github.com/ShinKage/idris2-nmnv
+"
+" Based on ftplugin/idris2.mnv from https://github.com/edwinb/idris2-mnv
+
+if exists("b:did_ftplugin")
+ finish
+endif
+
+setlocal shiftwidth=2
+setlocal tabstop=2
+
+" Set g:idris2#allow_tabchar = 1 to use tabs instead of spaces
+if exists('g:idris2#allow_tabchar') && g:idris2#allow_tabchar != 0
+ setlocal noexpandtab
+else
+ setlocal expandtab
+endif
+
+setlocal comments=s1:{-,mb:-,ex:-},:\|\|\|,:--
+setlocal commentstring=--\ %s
+
+" makes ? a part of a word, e.g. for named holes `vzipWith f [] [] = ?vzipWith_rhs_3`, uncomment if want to reenable
+" setlocal iskeyword+=?
+
+setlocal wildignore+=*.ibc
+
+let b:undo_ftplugin = "setlocal shiftwidth< tabstop< expandtab< comments< commentstring< iskeyword< wildignore<"
+
+let b:did_ftplugin = 1