add JS/ES

This commit is contained in:
David Aizenberg
2016-10-31 10:11:56 +02:00
parent d720e91def
commit fca50adf74

6
.vimrc
View File

@@ -9,6 +9,8 @@
" Turn syntax highlight on.
syntax on
"for future use.
let mapleader = ","
@@ -19,6 +21,8 @@ execute pathogen#infect()
set laststatus=2
let g:airline_powerline_fonts = 1
autocmd VimEnter * NERDTree
"bind F2 as a Toggle for NERDTree
map <F2> :NERDTreeToggle<CR>
@@ -69,6 +73,8 @@ autocmd FileType make setlocal noexpandtab
" autocmd BufRead,BufNewFile *.json setfiletype javascript
autocmd FileType javascript setlocal expandtab shiftwidth=4 tabstop=4 softtabstop=4
let javascript_enable_domhtmlcss=1
let g:javascript_plugin_jsdoc = 1
let g:javascript_plugin_ngdoc = 1
" Set 256 colour mode and Theme.