mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Update nvim
This commit is contained in:
parent
a01c2ab92c
commit
093639a28a
24 changed files with 102 additions and 119 deletions
|
|
@ -1,28 +1,33 @@
|
|||
call plug#begin('~/.vim/plugged')
|
||||
call plug#begin('~/.vim/plugged')
|
||||
Plug 'Smirnov-O/nten.vim'
|
||||
Plug 'b3nj5m1n/kommentary'
|
||||
" Plug 'mattn/emmet-vim', {'on': 'EmmetInstall'}
|
||||
Plug 'nvim-lua/plenary.nvim'
|
||||
Plug 'nvim-lua/popup.nvim'
|
||||
" Plug 'editorconfig/editorconfig-vim'
|
||||
Plug 'norcalli/nvim-colorizer.lua'
|
||||
Plug 'kyazdani42/nvim-web-devicons'
|
||||
" Status line && Tab line
|
||||
Plug 'hoob3rt/lualine.nvim'
|
||||
Plug 'romgrk/barbar.nvim'
|
||||
" LSP && Completion
|
||||
Plug 'neovim/nvim-lspconfig'
|
||||
Plug 'hrsh7th/nvim-compe'
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
Plug 'mattn/emmet-vim', {'on': 'EmmetInstall'}
|
||||
" File explorer
|
||||
Plug 'junegunn/fzf.vim'
|
||||
Plug 'kyazdani42/nvim-tree.lua'
|
||||
" Git
|
||||
Plug 'TimUntersberger/neogit'
|
||||
Plug 'lewis6991/gitsigns.nvim'
|
||||
" Theme
|
||||
Plug 'Smirnov-O/nten.vim'
|
||||
" Status line && Tab line
|
||||
Plug 'hoob3rt/lualine.nvim'
|
||||
Plug 'romgrk/barbar.nvim'
|
||||
" File explorer
|
||||
Plug 'kyazdani42/nvim-tree.lua'
|
||||
Plug 'nvim-telescope/telescope.nvim'
|
||||
" Better syntax hl
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
Plug 'norcalli/nvim-colorizer.lua'
|
||||
" Other
|
||||
Plug 'nvim-lua/plenary.nvim'
|
||||
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||
call plug#end()
|
||||
|
||||
colo codedark
|
||||
let mapleader=";"
|
||||
set termguicolors
|
||||
|
||||
"== Tab(or spaces)
|
||||
set ts=4 sw=4 sts=4
|
||||
|
|
@ -35,18 +40,10 @@ com! Notes :Files ~/notes
|
|||
com! GoFmt :sil !gofmt -w %
|
||||
|
||||
"== Configs
|
||||
luafile $HOME/.config/nvim/lua/plugins.lua
|
||||
source $HOME/.config/nvim/vimscript/config.vim
|
||||
source $HOME/.config/nvim/vimscript/barbar.vim
|
||||
source $HOME/.config/nvim/vimscript/emmet.vim
|
||||
source /home/sasha/.config/nvim/vimscript/compe.vim
|
||||
source $HOME/.config/nvim/vimscript/compe.vim
|
||||
source $HOME/.config/nvim/vimscript/filetypes.vim
|
||||
source $HOME/.config/nvim/vimscript/mappings.vim
|
||||
luafile $HOME/.config/nvim/lua/n-compe.lua
|
||||
luafile $HOME/.config/nvim/lua/n-lualine.lua
|
||||
luafile $HOME/.config/nvim/lua/n-nvimtree.lua
|
||||
luafile $HOME/.config/nvim/lua/n-gitsigns.lua
|
||||
luafile $HOME/.config/nvim/lua/n-colorizer.lua
|
||||
|
||||
"== Custom setting for another files
|
||||
au FileType python,elm setl sw=4 ts=4 sts=2
|
||||
au FileType javascript,html,vue,jst,pug,css,less,scss,json,yaml,lua setl sw=2 ts=2 sts=2
|
||||
au FileType go setl noet sw=4 ts=4 sts=2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue