set ftplugin files to use setlocal not set
This commit is contained in:
parent
13956ce178
commit
0046be65ca
|
@ -1 +1 @@
|
||||||
set foldnestmax=5
|
setlocal foldnestmax=5
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
" NOTE also see ../ftplugin/javascript.vim
|
|
||||||
set shiftwidth=2
|
|
||||||
|
|
||||||
" https://gist.github.com/romainl/1f50c55b0ee92e5420de51e6c4b38491
|
" https://gist.github.com/romainl/1f50c55b0ee92e5420de51e6c4b38491
|
||||||
|
|
||||||
nnoremap <silent> <space>cF :call CocAction('runCommand', 'eslint.executeAutofix')<CR>
|
nnoremap <silent> <space>cF :call CocAction('runCommand', 'eslint.executeAutofix')<CR>
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
setlocal iskeyword+=$
|
||||||
|
setlocal autoindent
|
|
@ -1,11 +1,11 @@
|
||||||
set tabstop=4
|
setlocal tabstop=4
|
||||||
|
|
||||||
set textwidth=88
|
setlocal textwidth=88
|
||||||
|
|
||||||
set foldmethod=indent
|
setlocal foldmethod=indent
|
||||||
set foldnestmax=1
|
setlocal foldnestmax=1
|
||||||
|
|
||||||
set colorcolumn=88
|
setlocal colorcolumn=88
|
||||||
|
|
||||||
noremap <F4> :w<CR>:silent !clear;python %<CR> :redraw!<CR>
|
noremap <F4> :w<CR>:silent !clear;python %<CR> :redraw!<CR>
|
||||||
nnoremap <silent> <buffer> <F5> :call SaveAndExecute('python')<CR>
|
nnoremap <silent> <buffer> <F5> :call SaveAndExecute('python')<CR>
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
|
setlocal includeexpr=substitute(substitute(substitute(v:fname,'\%(.*/\|^\)\zs','_',''),'^[\\~@]\/','./',''),'^[\\~@]','./node_modules/','')
|
||||||
set includeexpr=substitute(substitute(substitute(v:fname,'\%(.*/\|^\)\zs','_',''),'^[\\~@]\/','./',''),'^[\\~@]','./node_modules/','')
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
set foldmethod=marker
|
setlocal foldmethod=marker
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
set iskeyword+=-
|
setlocal iskeyword+=-
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
" also see after/ftplugin/javascript.vim
|
setlocal iskeyword+=$
|
||||||
|
setlocal foldmethod=syntax
|
||||||
set iskeyword+=$
|
|
||||||
|
|
||||||
set foldmethod=syntax
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
set iskeyword+=$
|
|
|
@ -1 +1 @@
|
||||||
set iskeyword+=$
|
setlocal iskeyword+=$
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
set includeexpr=substitute(substitute(v:fname,'^[\\~@]\/','./',''),'^[\\~@]','./node_modules/','')
|
setlocal includeexpr=substitute(substitute(v:fname,'^[\\~@]\/','./',''),'^[\\~@]','./node_modules/','')
|
||||||
|
|
||||||
setlocal suffixesadd=.js,.vue,.scss
|
setlocal suffixesadd=.js,.vue,.scss
|
||||||
setlocal complete=.,w,b,u,i
|
setlocal complete=.,w,b,u,i
|
||||||
|
|
Loading…
Reference in New Issue