- .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>
14 lines
387 B
VimL
14 lines
387 B
VimL
" 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()
|
|
|