aboutsummaryrefslogtreecommitdiff
path: root/vim/.vim/plugged/i3-vim-syntax/ftdetect/i3.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vim/plugged/i3-vim-syntax/ftdetect/i3.vim')
-rw-r--r--vim/.vim/plugged/i3-vim-syntax/ftdetect/i3.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/.vim/plugged/i3-vim-syntax/ftdetect/i3.vim b/vim/.vim/plugged/i3-vim-syntax/ftdetect/i3.vim
new file mode 100644
index 0000000..21603c5
--- /dev/null
+++ b/vim/.vim/plugged/i3-vim-syntax/ftdetect/i3.vim
@@ -0,0 +1,4 @@
+augroup i3_ftdetect
+ au!
+ au BufRead,BufNewFile *i3/config,*sway/config set ft=i3
+augroup END