summaryrefslogtreecommitdiff
path: root/ftplugin
diff options
context:
space:
mode:
authorChristian Segundo2024-07-12 17:29:42 +0200
committerChristian Segundo2024-07-12 17:29:42 +0200
commit049b9e4e97df8172bb8d2e98d5579ffecd758ca3 (patch)
tree0339a6f269678243e6d20a4f6310ed4b4dd78d67 /ftplugin
parent1a4426a445e539a9bd33f48e8ed9204cddcad238 (diff)
downloadconfig-049b9e4e97df8172bb8d2e98d5579ffecd758ca3.tar.gz
make tf comments work
Diffstat (limited to 'ftplugin')
-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<'