summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ftplugin/terraform.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/ftplugin/terraform.lua b/ftplugin/terraform.lua
new file mode 100644
index 0000000..069b93b
--- /dev/null
+++ b/ftplugin/terraform.lua
@@ -0,0 +1,3 @@
+-- for gc comments to work
+vim.bo.commentstring = '# %s'
+vim.b.undo_ftplugin = 'setl commentstring<'