VIM: Cleanup
- .vimrc: Restructured the settings. Moved the Rmarkdown settings to a new config file 'config/filetypes.vim' - config/plugin.vim: Fixed spacing - .gitmodules: moved traces.vim down Signed-off-by: Tobias Manske <tobias.manske@mailbox.org>
This commit is contained in:
13
vim/config/filetypes.vim
Normal file
13
vim/config/filetypes.vim
Normal file
@ -0,0 +1,13 @@
|
||||
" This config includes custom settings for special filetypes
|
||||
|
||||
|
||||
" Rmarkdown / .rmd
|
||||
function Rmarkdown()
|
||||
set filetype=markdown
|
||||
set conceallevel=0
|
||||
let g:markdown_syntax_conceal=0
|
||||
let g:markdown_fenced_languages=['r', 'python', 'html', 'sql', 'bash=sh']
|
||||
endfunction
|
||||
autocmd BufNewFile,BufReadPost *.Rmd call Rmarkdown()
|
||||
autocmd BufNewFile,BufReadPost *.rmd call Rmarkdown()
|
||||
|
@ -21,8 +21,6 @@ let g:airline_theme="minimalist"
|
||||
autocmd TextChanged * GitGutter
|
||||
|
||||
|
||||
|
||||
|
||||
" JavaComplete
|
||||
if has("autocmd")
|
||||
autocmd Filetype java setlocal omnifunc=javacomplete#CompleteParamsInfo
|
||||
|
Reference in New Issue
Block a user