Nvim: improvements to syntax highlighting and add a couple of plugins
This commit is contained in:
parent
cd62b162b8
commit
e18f384d41
13 changed files with 27 additions and 41 deletions
|
@ -2,5 +2,6 @@ require'nvim-treesitter.configs'.setup {
|
|||
ensure_installed = 'maintained',
|
||||
highlight = {enable = true},
|
||||
indent = {enable = true},
|
||||
incremental_selection = {enable = true}
|
||||
incremental_selection = {enable = true},
|
||||
context_commentstring = {enable = true}
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ require('packer').startup(function()
|
|||
use {'wbthomason/packer.nvim', opt = true}
|
||||
|
||||
-- Colorscheme
|
||||
use 'monsonjeremy/onedark.nvim'
|
||||
use 'EdenEast/nightfox.nvim'
|
||||
|
||||
-- Git in signcolumn
|
||||
use 'airblade/vim-gitgutter'
|
||||
|
@ -41,7 +41,7 @@ require('packer').startup(function()
|
|||
use 'tpope/vim-fugitive'
|
||||
|
||||
-- Indent characters
|
||||
--use "lukas-reineke/indent-blankline.nvim"
|
||||
-- use "lukas-reineke/indent-blankline.nvim"
|
||||
|
||||
-- Tree explorer
|
||||
use {'kyazdani42/nvim-tree.lua', requires = 'kyazdani42/nvim-web-devicons'}
|
||||
|
@ -64,9 +64,6 @@ require('packer').startup(function()
|
|||
-- Install LSP executables
|
||||
use 'kabouzeid/nvim-lspinstall'
|
||||
|
||||
-- Extensions for eclipse.jdt.ls
|
||||
use 'mfussenegger/nvim-jdtls'
|
||||
|
||||
-- Completion framework
|
||||
use 'nvim-lua/completion-nvim'
|
||||
|
||||
|
@ -77,9 +74,18 @@ require('packer').startup(function()
|
|||
run = ':TSUpdate'
|
||||
}
|
||||
|
||||
-- Syntax highlighting for languages
|
||||
-- that are not supported by treesitter
|
||||
use 'sheerun/vim-polyglot'
|
||||
-- treesitter plugin for commentstring
|
||||
use 'JoosepAlviste/nvim-ts-context-commentstring'
|
||||
|
||||
-- Additional plugins for formats not supported
|
||||
-- by treesitter
|
||||
use 'jamespeapen/swayconfig.vim'
|
||||
|
||||
-- mappings for commenting in code
|
||||
use 'tpope/vim-commentary'
|
||||
|
||||
-- we all know this one
|
||||
use 'tpope/vim-surround'
|
||||
|
||||
-- Formatter plugin
|
||||
use 'sbdchd/neoformat'
|
||||
|
|
|
@ -5,7 +5,7 @@ local cmd = vim.cmd
|
|||
------ Appearance ------
|
||||
|
||||
-- Set colorscheme
|
||||
require('onedark').setup()
|
||||
require('nightfox').set()
|
||||
|
||||
-- True colors
|
||||
o.termguicolors = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue