summaryrefslogtreecommitdiffstats
path: root/.vim/ftplugin/README
diff options
context:
space:
mode:
authorGravatar Robin Obůrka <robin.oburka@nic.cz> 2019-03-11 12:58:55 +0100
committerGravatar Robin Obůrka <robin.oburka@nic.cz> 2019-03-11 12:58:55 +0100
commit652634143a78e262f0e26a10f253d2385fb44a41 (patch)
tree35ee484ee06db63538a57b1488a4a58ddbfaa49b /.vim/ftplugin/README
parentChange plugin manager from pathogen to vundle (diff)
downloadvim_sync-652634143a78e262f0e26a10f253d2385fb44a41.tar.xz
Refactor file type configuration to the ftplugin
Diffstat (limited to '.vim/ftplugin/README')
-rw-r--r--.vim/ftplugin/README14
1 files changed, 14 insertions, 0 deletions
diff --git a/.vim/ftplugin/README b/.vim/ftplugin/README
new file mode 100644
index 0000000..10327fb
--- /dev/null
+++ b/.vim/ftplugin/README
@@ -0,0 +1,14 @@
+To detect file type use
+
+```
+set ft
+```
+
+in buffer.
+
+
+You can define your own filetype in .vim/ftdetect directory:
+
+```
+au BufRead,BufNewFile *[cC]onffile,*.cf set filetype=conffile
+```