summaryrefslogtreecommitdiff
path: root/ftdetect
diff options
context:
space:
mode:
authorCamden Cheek <camden@ccheek.com>2021-05-11 09:30:40 -0600
committerThomas Vigouroux <tomvig38@gmail.com>2021-05-16 21:18:46 +0200
commitd0cefbb5a397fc0929cd1d2b0b5ec7417ce1e40a (patch)
tree43693a75653b0373b82c9f02e65b1628a5fa4f9e /ftdetect
parentfe4f320b66ebda120bdbeb09ac31cc2770cae267 (diff)
Add filetype detection for go.mod files
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/gomod.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ftdetect/gomod.vim b/ftdetect/gomod.vim
new file mode 100644
index 00000000..b5d95de3
--- /dev/null
+++ b/ftdetect/gomod.vim
@@ -0,0 +1 @@
+au BufRead,BufNewFile go.mod set filetype=gomod