Update files structure
This commit is contained in:
90
files/.config/nvim/plugins.vim
Normal file
90
files/.config/nvim/plugins.vim
Normal file
@@ -0,0 +1,90 @@
|
||||
|
||||
" ============================================================================ "
|
||||
" === PLUGINS === "
|
||||
" ============================================================================ "
|
||||
|
||||
" check whether vim-plug is installed and install it if necessary
|
||||
let plugpath = expand('<sfile>:p:h'). '/autoload/plug.vim'
|
||||
if !filereadable(plugpath)
|
||||
if executable('curl')
|
||||
let plugurl = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||
call system('curl -fLo ' . shellescape(plugpath) . ' --create-dirs ' . plugurl)
|
||||
if v:shell_error
|
||||
echom "Error downloading vim-plug. Please install it manually.\n"
|
||||
exit
|
||||
endif
|
||||
else
|
||||
echom "vim-plug not installed. Please install it manually or install curl.\n"
|
||||
exit
|
||||
endif
|
||||
endif
|
||||
|
||||
call plug#begin('~/.config/nvim/plugged')
|
||||
|
||||
" === Editing Plugins === "
|
||||
" Trailing whitespace highlighting & automatic fixing
|
||||
Plug 'ntpeters/vim-better-whitespace'
|
||||
|
||||
" auto-close plugin
|
||||
Plug 'rstacruz/vim-closer'
|
||||
|
||||
" Improved motion in Vim
|
||||
Plug 'easymotion/vim-easymotion'
|
||||
|
||||
" Intellisense Engine
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
|
||||
" Denite - Fuzzy finding, buffer management
|
||||
Plug 'Shougo/denite.nvim'
|
||||
|
||||
" Snippet support
|
||||
Plug 'Shougo/neosnippet'
|
||||
Plug 'Shougo/neosnippet-snippets'
|
||||
|
||||
" Print function signatures in echo area
|
||||
Plug 'Shougo/echodoc.vim'
|
||||
|
||||
" === Git Plugins === "
|
||||
" Enable git changes to be shown in sign column
|
||||
Plug 'mhinz/vim-signify'
|
||||
Plug 'tpope/vim-fugitive'
|
||||
|
||||
" === Javascript Plugins === "
|
||||
" Typescript syntax highlighting
|
||||
Plug 'HerringtonDarkholme/yats.vim'
|
||||
|
||||
" ReactJS JSX syntax highlighting
|
||||
Plug 'mxw/vim-jsx'
|
||||
|
||||
" Generate JSDoc commands based on function signature
|
||||
Plug 'heavenshell/vim-jsdoc'
|
||||
|
||||
" === Syntax Highlighting === "
|
||||
|
||||
" Syntax highlighting for nginx
|
||||
Plug 'chr4/nginx.vim'
|
||||
|
||||
" Syntax highlighting for javascript libraries
|
||||
Plug 'othree/javascript-libraries-syntax.vim'
|
||||
|
||||
" Improved syntax highlighting and indentation
|
||||
Plug 'othree/yajs.vim'
|
||||
|
||||
" === UI === "
|
||||
" File explorer
|
||||
Plug 'scrooloose/nerdtree'
|
||||
|
||||
" Colorscheme
|
||||
Plug 'tomasiser/vim-code-dark'
|
||||
|
||||
" Customized vim status line
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
|
||||
" Icons
|
||||
Plug 'ryanoasis/vim-devicons'
|
||||
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
|
||||
|
||||
" Initialize plugin system
|
||||
call plug#end()
|
||||
|
||||
Reference in New Issue
Block a user