commit f07e53d107e6ce5f87b627b4b9336d284da5edab
parent 38f87dd5c88fc708fd148ea915e27ac08f210420
Author: Ashymad <czilukim@o2.pl>
Date: Sat, 25 Aug 2018 17:49:37 +0200
omni complete for Rnw
Diffstat:
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim
@@ -11,9 +11,6 @@ call plug#begin('~/.local/share/nvim/plugged')
Plug 'joshdick/onedark.vim'
Plug 'itchyny/lightline.vim'
-" Syntax highlighting
-" Plug 'sheerun/vim-polyglot'
-
" Filesystem
Plug 'scrooloose/nerdtree'
Plug 'ctrlpvim/ctrlp.vim'
@@ -51,9 +48,6 @@ Plug 'tpope/vim-fugitive'
" Camel/Snake case movement
Plug 'bkad/CamelCaseMotion'
-" Pweave
-Plug 'coyotebush/vim-pweave'
-
call plug#end()
" Enable CamelCaseMotion
@@ -121,6 +115,11 @@ if !exists('g:deoplete#omni#input_patterns')
endif
let g:deoplete#omni#input_patterns.tex = g:vimtex#re#deoplete
+call deoplete#custom#option('omni_patterns', {
+ \ 'r': ['[^. *\t]\.\w*', '\h\w*::\w*', '\h\w*\$\w*'],
+ \})
+
+
map <C-k> :NERDTreeToggle<CR>
set hidden
@@ -137,6 +136,8 @@ nnoremap <silent> <F2> :call LanguageClient#textDocument_rename()<CR>
" let R_latexcmd = ['latexmk','-pdf','-pdflatex="lualatex -synctex=1 -interaction=nonstopmode"']
+au BufReadPost APKBUILD set syntax=sh noexpandtab
+
syntax on
colorscheme onedark
set noshowmode