Permalink
Browse files

Added ftdetect and ftplugin.

  • Loading branch information...
1 parent 66167c6 commit 57ef02b3be8ccab7cfbadef2d6e8a7eaa3f5c70b @adibis committed Feb 23, 2012
Showing with 16 additions and 6 deletions.
  1. +1 −1 bundle/nerdtree
  2. +1 −5 config/filetype.vim → ftdetect/systemverilog.vim
  3. +7 −0 ftplugin/html.vim
  4. +7 −0 ftplugin/ruby.vim
Submodule nerdtree updated 1 files
+17 −2 plugin/NERD_tree.vim
@@ -11,11 +11,7 @@ if has("autocmd")
" Verilog code.
augroup systemverilog
autocmd BufReadPre,FileReadPre *.sv set filetype=systemverilog
- augroup END
-
- " Ruby code.
- augroup ruby
- autocmd BufReadPre,FileReadPre *.rb set tabstop=2
+ autocmd BufReadPre,FileReadPre *.sva set filetype=systemverilog
augroup END
endif
View
@@ -0,0 +1,7 @@
+"------------------------------------------------------------------------------
+" HTML specific settings.
+"------------------------------------------------------------------------------
+
+setlocal tabstop=2
+setlocal shiftwidth=2
+
View
@@ -0,0 +1,7 @@
+"------------------------------------------------------------------------------
+" Ruby specific settings.
+"------------------------------------------------------------------------------
+
+setlocal tabstop=2
+setlocal shiftwidth=2
+

0 comments on commit 57ef02b

Please sign in to comment.