" plugin dependent conf starts call plug#begin('~/.config/nvim/plugged') " git Plug 'tpope/vim-fugitive', { 'tag': 'v3.6' } Plug 'airblade/vim-gitgutter' " tmux Plug 'tmux-plugins/vim-tmux-focus-events' Plug 'roxma/vim-tmux-clipboard' Plug 'wincent/terminus' " life improvements Plug 'folke/tokyonight.nvim', { 'branch': 'main' } Plug 'scrooloose/nerdtree' Plug 'Chiel92/vim-autoformat' Plug 'jsfaint/gen_tags.vim' Plug 'godlygeek/tabular' " language support Plug 'plasticboy/vim-markdown' Plug 'samsaga2/vim-z80' Plug 'tomtom/tcomment_vim' if has('nvim-0.5') " status line Plug 'nvim-lualine/lualine.nvim' " general lua Plug 'nvim-lua/popup.nvim' Plug 'nvim-lua/plenary.nvim' " scala Plug 'scalameta/nvim-metals' if has('nvim-0.5.1') Plug 'nvim-telescope/telescope.nvim' end " auto complete Plug 'hrsh7th/nvim-cmp' Plug 'hrsh7th/cmp-nvim-lsp' Plug 'hrsh7th/cmp-vsnip' Plug 'hrsh7th/vim-vsnip' " for LSP Plug 'kyazdani42/nvim-web-devicons' Plug 'folke/trouble.nvim' " life improvements Plug 'ojroques/nvim-bufdel' " learning Plug 'folke/which-key.nvim' end if has('nvim-0.6.1') " lsp Plug 'neovim/nvim-lspconfig' Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} end call plug#end() if has('nvim-0.5') :lua << EOF -- BufKil require('bufdel').setup { next = 'cycle', quit = false, } -- which-key require("which-key").setup { } EOF source ~/.config/nvim/lualine.lua end " for LSC support " if has('nvim-0.6.1') source ~/.config/nvim/lsp.lua source ~/.config/nvim/treesitter.lua " scala and metals source ~/.config/nvim/metals.vim end " auto-complete source ~/.config/nvim/cmp.vim