neovim: autocompletion
* NEW Tries to implement autocompletion. * BETTER Adds some rules in the gitignore. * Reverts to light colors. * Commits the spell changes. Signed-off-by: iGor milhit <igor@milhit.ch>server
parent
2f241070cf
commit
76db67cdd3
|
@ -1,5 +1,6 @@
|
||||||
# `vim-plug` plugins
|
# `vim-plug` plugins
|
||||||
plugged/*
|
plugged/*
|
||||||
|
autoload
|
||||||
|
|
||||||
# netrw
|
# netrw
|
||||||
.netrwhist
|
.netrwhist
|
||||||
|
|
23
init.vim
23
init.vim
|
@ -1,6 +1,6 @@
|
||||||
" Syntax coloration and color theme
|
" Syntax coloration and color theme
|
||||||
syntax enable
|
syntax enable
|
||||||
set background=dark
|
set background=light
|
||||||
colorscheme solarized
|
colorscheme solarized
|
||||||
|
|
||||||
" Filetype detection
|
" Filetype detection
|
||||||
|
@ -52,6 +52,10 @@ au FileType markdown set colorcolumn&
|
||||||
|
|
||||||
" Consider `.jsonld` as JSON
|
" Consider `.jsonld` as JSON
|
||||||
autocmd BufNewFile,BufRead *.jsonld setfiletype json
|
autocmd BufNewFile,BufRead *.jsonld setfiletype json
|
||||||
|
" tabstop to 2 for JSON
|
||||||
|
au FileType json set tabstop=2
|
||||||
|
au FileType json set softtabstop=2
|
||||||
|
au FileType json set shiftwidth=2
|
||||||
|
|
||||||
" fold
|
" fold
|
||||||
" Type de fold si c'est du JSON
|
" Type de fold si c'est du JSON
|
||||||
|
@ -90,7 +94,13 @@ let g:airline_powerline_fonts = 1
|
||||||
" netrw, instead of NERDTree
|
" netrw, instead of NERDTree
|
||||||
let g:netrw_liststyle = 3
|
let g:netrw_liststyle = 3
|
||||||
let g:netrw_banner = 0
|
let g:netrw_banner = 0
|
||||||
let g:netrw_browse_split = 3
|
let g:netrw_browse_split = 4
|
||||||
|
let g:netrw_altv = 1
|
||||||
|
let g:netrw_winsize = 20
|
||||||
|
" augroup ProjectDrawer
|
||||||
|
" autocmd!
|
||||||
|
" autocmd VimEnter * :Vexplore
|
||||||
|
" augroup END
|
||||||
|
|
||||||
" vim-json, don't conceal
|
" vim-json, don't conceal
|
||||||
let g:vim_json_syntax_conceal = 0
|
let g:vim_json_syntax_conceal = 0
|
||||||
|
@ -101,6 +111,9 @@ let g:ctrlp_working_path_mode = 'ra'
|
||||||
" enable caching
|
" enable caching
|
||||||
let g:ctrlp_use_caching = 1
|
let g:ctrlp_use_caching = 1
|
||||||
let g:ctrlp_clear_cache_on_exit = 0
|
let g:ctrlp_clear_cache_on_exit = 0
|
||||||
|
" enable autocomplete
|
||||||
|
autocmd BufEnter * call ncm2#enable_for_buffer()
|
||||||
|
set completeopt=noinsert,menuone,noselect
|
||||||
|
|
||||||
" plugins (vim-plug)
|
" plugins (vim-plug)
|
||||||
call plug#begin('~/.config/nvim/plugged')
|
call plug#begin('~/.config/nvim/plugged')
|
||||||
|
@ -129,4 +142,10 @@ Plug 'nvie/vim-flake8'
|
||||||
Plug 'kien/ctrlp.vim'
|
Plug 'kien/ctrlp.vim'
|
||||||
Plug 'scrooloose/nerdtree'
|
Plug 'scrooloose/nerdtree'
|
||||||
Plug 'Floobits/floobits-neovim'
|
Plug 'Floobits/floobits-neovim'
|
||||||
|
Plug 'https://github.com/editorconfig/editorconfig-vim'
|
||||||
|
Plug 'ncm2/ncm2'
|
||||||
|
Plug 'roxma/nvim-yarp'
|
||||||
|
Plug 'ncm2/ncm2-bufword'
|
||||||
|
Plug 'Shougo/neco-syntax'
|
||||||
|
Plug 'ncm2/ncm2-syntax'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
|
@ -11,3 +11,9 @@ l'écrivain
|
||||||
autophage
|
autophage
|
||||||
réenchantent
|
réenchantent
|
||||||
préindustrielle
|
préindustrielle
|
||||||
|
barcode
|
||||||
|
consortiale
|
||||||
|
multilingue
|
||||||
|
Martigny
|
||||||
|
Milhit
|
||||||
|
brisolée
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue