mirror of
https://github.com/neoromantique/dotfiles.git
synced 2026-03-14 06:02:54 +03:00
add JS/ES
This commit is contained in:
6
.vimrc
6
.vimrc
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user