Skip to content

Instantly share code, notes, and snippets.

@tynrare
Created October 9, 2021 23:33
Show Gist options
  • Save tynrare/e27ef6010d3a168b2f28e56f688198a2 to your computer and use it in GitHub Desktop.
Save tynrare/e27ef6010d3a168b2f28e56f688198a2 to your computer and use it in GitHub Desktop.
dust-init.vim (neovim rc)
" color schemes
if (has("termguicolors"))
set termguicolors
endif
syntax enable
" colorscheme evening
colorscheme tender
let g:airline_theme='tender'
set smartindent
set tabstop=2
set shiftwidth=2
call plug#begin()
Plug 'tpope/vim-sensible'
Plug 'jacoborus/tender.vim'
" https://medium.com/geekculture/neovim-configuration-for-beginners-b2116dbbde84
Plug 'ryanoasis/vim-devicons'
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
Plug 'scrooloose/nerdtree'
Plug 'preservim/nerdcommenter'
Plug 'mhinz/vim-startify'
" ddc
Plug 'Shougo/ddc.vim'
Plug 'vim-denops/denops.vim'
Plug 'Shougo/ddc-around'
Plug 'Shougo/ddc-matcher_head'
Plug 'Shougo/ddc-sorter_rank'
" Plug 'Shougo/echodoc.vim'
Plug 'matsui54/ddc-matcher_fuzzy'
Plug 'delphinus/ddc-treesitter'
Plug 'statiolake/ddc-ale'
Plug 'dense-analysis/ale'
Plug 'nvim-treesitter/nvim-treesitter'
Plug 'Shougo/ddc-omni'
Plug 'Shougo/context_filetype.vim'
Plug 'LumaKernel/ddc-tabnine'
Plug 'Shougo/ddc-omni'
"" airline
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
"" Other
Plug 'sbdchd/neoformat'
Plug 'vim-syntastic/syntastic'
call plug#end()
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
" call ddc#custom#patch_global('sources', ['around', 'treesitter', 'ale'])
call ddc#custom#patch_global('sources', ['around', 'omni', 'tabnine', 'treesitter'])
call ddc#custom#patch_global('sourceOptions', {
\ '_': {
\ 'matchers': ['matcher_head', 'matcher_fuzzy'],
\ 'sorters': ['sorter_rank']},
\ })
" let g:echodoc#enable_at_startup = 1
" let g:echodoc#type = 'virtual'
" Use ddc.
call ddc#enable()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment