]> git.sthu.org Git - vimconf.git/commitdiff
ftdetect: Add gnuplot.vim
authorStefan Huber <shuber@sthu.org>
Fri, 1 Mar 2019 20:57:07 +0000 (21:57 +0100)
committerStefan Huber <shuber@sthu.org>
Fri, 1 Mar 2019 20:57:07 +0000 (21:57 +0100)
ftdetect/gnuplot.vim [new file with mode: 0644]
init.vim

diff --git a/ftdetect/gnuplot.vim b/ftdetect/gnuplot.vim
new file mode 100644 (file)
index 0000000..bc10514
--- /dev/null
@@ -0,0 +1,2 @@
+au BufRead,BufNewFile *.plt       set filetype=gnuplot
+au BufRead,BufNewFile *.gnuplot   set filetype=gnuplot
index cf6e2df6a876fc292241e1231d290147f388a25d..50d395c48d2a696c6fa4343faebddc67abee36c0 100644 (file)
--- a/init.vim
+++ b/init.vim
@@ -107,8 +107,6 @@ au BufRead,BufNewFile *.muttrc set filetype=muttrc
 au BufRead,BufNewFile *.cls set filetype=tex
 au Filetype tex set shiftwidth=2
 
-au BufRead,BufNewFile *.plt set filetype=gnuplot
-
 :let g:org_todo_keywords = [['TODO(t)', 'WAITING(w)', '|', 'DONE(d)'],
       \ ['|', 'OBSOLETE(o)', 'WONT(n)'],
       \ ['CANCELED(c)']]