aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/gleam.vim
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2024-11-25 19:15:05 +0000
committerJosh Rahm <joshuarahm@gmail.com>2024-11-25 19:27:38 +0000
commitc5d770d311841ea5230426cc4c868e8db27300a8 (patch)
treedd21f70127b4b8b5f109baefc8ecc5016f507c91 /runtime/ftplugin/gleam.vim
parent9be89f131f87608f224f0ee06d199fcd09d32176 (diff)
parent081beb3659bd6d8efc3e977a160b1e72becbd8a2 (diff)
downloadrneovim-c5d770d311841ea5230426cc4c868e8db27300a8.tar.gz
rneovim-c5d770d311841ea5230426cc4c868e8db27300a8.tar.bz2
rneovim-c5d770d311841ea5230426cc4c868e8db27300a8.zip
Merge remote-tracking branch 'upstream/master' into mix_20240309
Diffstat (limited to 'runtime/ftplugin/gleam.vim')
-rw-r--r--runtime/ftplugin/gleam.vim16
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/ftplugin/gleam.vim b/runtime/ftplugin/gleam.vim
new file mode 100644
index 0000000000..9ed607c4b3
--- /dev/null
+++ b/runtime/ftplugin/gleam.vim
@@ -0,0 +1,16 @@
+" Vim filetype plugin file
+" Language: Gleam
+" Maintainer: Trilowy (https://github.com/trilowy)
+" Last Change: 2024 Oct 13
+
+if exists('b:did_ftplugin')
+ finish
+endif
+let b:did_ftplugin = 1
+
+setlocal comments=://,:///,:////
+setlocal commentstring=//\ %s
+
+let b:undo_ftplugin = "setlocal comments< commentstring<"
+
+" vim: sw=2 sts=2 et