2020-06-14 09:27:59 +02:00
|
|
|
" plugins (vim-plug)
|
|
|
|
call plug#begin('~/.config/nvim/plugged')
|
|
|
|
Plug 'arcticicestudio/nord-vim' " Nord color scheme
|
|
|
|
Plug 'sheerun/vim-polyglot'
|
|
|
|
Plug 'tpope/vim-sensible' " default settings
|
2020-12-13 13:51:55 +01:00
|
|
|
Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app & yarn install' } " Markdown preview
|
2020-06-14 09:27:59 +02:00
|
|
|
Plug 'vim-pandoc/vim-pandoc' " pandoc support
|
|
|
|
Plug 'vim-pandoc/vim-pandoc-syntax' " markdown syntax support
|
|
|
|
Plug 'vim-airline/vim-airline'
|
|
|
|
Plug 'vim-airline/vim-airline-themes'
|
|
|
|
call plug#end()
|
|
|
|
|
|
|
|
" Filetype detection
|
|
|
|
filetype plugin on
|
|
|
|
|
|
|
|
" Format indentation
|
|
|
|
if has("autocmd")
|
|
|
|
filetype plugin indent on
|
|
|
|
endif
|
|
|
|
|
2020-12-13 13:51:55 +01:00
|
|
|
" Python provider in a pyenv
|
|
|
|
let g:python3_host_prog='/home/igor/.pyenv/versions/neovim3/bin/python'
|
|
|
|
|
2020-06-14 09:27:59 +02:00
|
|
|
" Pandoc
|
|
|
|
let g:pandoc#formatting#mode = "hA"
|
2020-12-13 13:51:55 +01:00
|
|
|
let g:mkdp_filetypes = ['markdown', 'pandoc', 'pandoc.markdown'] " filetypes for markdown preview
|
2020-06-14 09:27:59 +02:00
|
|
|
|
|
|
|
" airline
|
|
|
|
let g:airline_powerline_fonts = 1
|
|
|
|
let g:airline#extensions#wordcount#filetypes = 'pandoc\|text\|' "Add support when pandoc is activated
|
|
|
|
let g:airline_theme='nord'
|
|
|
|
|
|
|
|
" Syntax coloration and color theme
|
|
|
|
syntax enable
|
|
|
|
set background=dark
|
|
|
|
colorscheme nord
|