Browse files

Switches verilog/systemverilog highlighting plugins to one that works.

  • Loading branch information...
1 parent 5f90d39 commit a4f1bde6727be0c59c83726e13409da44dca75f3 Nick Jones committed Oct 1, 2012
Showing with 8 additions and 10 deletions.
  1. +3 −3 .gitmodules
  2. +0 −1 bundle/systemverilog.vim
  3. +1 −0 bundle/verilog_systemverilog
  4. +4 −6 vimrc
View
6 .gitmodules
@@ -19,9 +19,6 @@
[submodule "bundle/git-vim"]
path = bundle/git-vim
url = http://github.com/motemen/git-vim.git
-[submodule "bundle/systemverilog.vim"]
- path = bundle/systemverilog.vim
- url = https://github.com/vim-scripts/systemverilog.vim
[submodule "bundle/vim-colors-solarized"]
path = bundle/vim-colors-solarized
url = https://github.com/altercation/vim-colors-solarized.git
@@ -43,3 +40,6 @@
[submodule "bundle/dwm.vim"]
path = bundle/dwm.vim
url = https://github.com/spolu/dwm.vim
+[submodule "bundle/verilog_systemverilog"]
+ path = bundle/verilog_systemverilog
+ url = http://github.com/vim-scripts/verilog_systemverilog.vim
1 bundle/systemverilog.vim
@@ -1 +0,0 @@
-Subproject commit 1f48c4831dccb5303835e41019280a5dd2698ae7
1 bundle/verilog_systemverilog
@@ -0,0 +1 @@
+Subproject commit b81d12a7301d5431ea22c43ce3d535d28bd1ce62
View
10 vimrc
@@ -60,12 +60,10 @@ nmap <F8> :TagbarToggle<CR>
inoremap jk <Esc>
" System Verilog syntax matching
-so $VIMRUNTIME/syntax/verilog.vim
-au Syntax sv runtime! syntax/verilog.vim
-au Syntax svh runtime! syntax/verilog.vim
-au Syntax vpp runtime! syntax/verilog.vim
-au Syntax svpp runtime! syntax/verilog.vim
-au Syntax svhpp runtime! syntax/verilog.vim
+autocmd BufRead,BufNewFile *.v,*.vh setfiletype verilog
+autocmd BufRead,BufNewFile *.v,*.vh set expandtab tabstop=4 softtabstop=2 shiftwidth=2
+autocmd BufRead,BufNewFile *.sv,*.svi set filetype=verilog_systemverilog
+autocmd BufRead,BufNewFile *.sv,*.svi set expandtab tabstop=4 softtabstop=2 shiftwidth=2
" Presentation colors and config
" (http://vim.devth.com/?tag=colorscheme)

0 comments on commit a4f1bde

Please sign in to comment.