feat(nvim): plugin for scad files
This commit is contained in:
parent
1d91291dca
commit
c4d229f964
1 changed files with 7 additions and 2 deletions
|
@ -6,6 +6,7 @@ Plug 'semanser/vim-outdated-plugins'
|
||||||
Plug 'ntpeters/vim-better-whitespace'
|
Plug 'ntpeters/vim-better-whitespace'
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'w0rp/ale'
|
Plug 'w0rp/ale'
|
||||||
|
Plug 'sirtaj/vim-openscad'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
" Add a set of commands that will make the 80th column of a document visible
|
" Add a set of commands that will make the 80th column of a document visible
|
||||||
|
@ -28,9 +29,13 @@ set sidescroll=1
|
||||||
set sidescrolloff=8
|
set sidescrolloff=8
|
||||||
set scrolloff=2
|
set scrolloff=2
|
||||||
|
|
||||||
|
" Rebind Redo to U
|
||||||
|
nnoremap U <C-r>
|
||||||
|
|
||||||
" Classic
|
" Classic
|
||||||
set number
|
set number
|
||||||
|
set nofoldenable
|
||||||
|
|
||||||
" Yaml Indent
|
" Yaml Indent
|
||||||
"autocmd BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml foldmethod=indent
|
autocmd BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml foldmethod=indent
|
||||||
"autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
|
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue