Add bunch of stuff into vim config

This commit is contained in:
Nikurasu 2022-12-21 10:05:20 +01:00
parent fc0cc9cc17
commit e3afc7c531

View file

@ -5,8 +5,14 @@ vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = true
vim.cmd('colorscheme base16-material-darker')
require("transparent").setup({
enable = true,
})
require'nvim-treesitter.configs'.setup {
ensure_installed = { "c", "lua", "kotlin", "javascript", "typescript" },
ensure_installed = { "vim", "c", "lua", "kotlin", "javascript", "typescript" },
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
@ -18,6 +24,20 @@ require'nvim-treesitter.configs'.setup {
}
}
require("nvim-tree").setup({
open_on_setup = true
})
require('lualine').setup({
options = {
theme = 'base16',
section_separators = { left = '', right = '' }
},
extensions = {'nvim-tree'}
})
return require('packer').startup(function(use)
use 'wbthomason/packer.nvim'
use {
@ -28,6 +48,20 @@ return require('packer').startup(function(use)
end,
}
use 'p00f/nvim-ts-rainbow'
use 'jiangmiao/auto-pairs'
use 'jiangmiao/auto-pairs'
use {
'nvim-tree/nvim-tree.lua',
requires = {
'nvim-tree/nvim-web-devicons',
}
}
use {
'nvim-lualine/lualine.nvim',
requires = {
'kyazdani42/nvim-web-devicons',
}
}
use 'RRethy/nvim-base16'
use 'xiyaowong/nvim-transparent'
end)