Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-09-04 12:09:43 +02:00
parent 5b5e331648
commit b7916c11c9

12
.vimrc
View File

@ -23,7 +23,6 @@ Plug 'prettier/vim-prettier', { 'do': 'npm install --force' }
Plug 'iamcco/markdown-preview.nvim', { 'do': 'npm install --force' } Plug 'iamcco/markdown-preview.nvim', { 'do': 'npm install --force' }
Plug 'ycm-core/YouCompleteMe', { 'do': 'python3 install.py --clangd-completer --java-completer'} Plug 'ycm-core/YouCompleteMe', { 'do': 'python3 install.py --clangd-completer --java-completer'}
" Problem with vim-prettier " Problem with vim-prettier
"
" git checkout -b test origin/feature/issue-232-add-support-for-prettier-2.x; " git checkout -b test origin/feature/issue-232-add-support-for-prettier-2.x;
" npm install --force " npm install --force
call plug#end() call plug#end()
@ -53,6 +52,10 @@ set encoding=utf-8
" livepreviewer " livepreviewer
let g:livepreview_previewer = 'mupdf' let g:livepreview_previewer = 'mupdf'
" markdown preview
let g:mkdp_browser = '/home/yorune/.local/bin/browser-x'
let g:mkdp_echo_preview_url = 1
" line numbers " line numbers
set number set number
set ruler set ruler
@ -121,9 +124,4 @@ autocmd BufWritePre * %s/\s\+$//e
autocmd BufWritepre * %s/\n\+\%$//e autocmd BufWritepre * %s/\n\+\%$//e
" Autoformating markdown " Autoformating markdown
autocmd BufWritePost *.md :Prettier "autocmd BufWritePost *.md :Prettier
" Livedown
let g:livedown_browser = "browser-x"
let g:livedown_autorun = 0
let g:livedown_open = 1