Add bunch of stuff into vim config
This commit is contained in:
parent
fc0cc9cc17
commit
e3afc7c531
1 changed files with 36 additions and 2 deletions
|
@ -5,8 +5,14 @@ vim.opt.tabstop = 2
|
||||||
vim.opt.shiftwidth = 2
|
vim.opt.shiftwidth = 2
|
||||||
vim.opt.expandtab = true
|
vim.opt.expandtab = true
|
||||||
|
|
||||||
|
vim.cmd('colorscheme base16-material-darker')
|
||||||
|
|
||||||
|
require("transparent").setup({
|
||||||
|
enable = true,
|
||||||
|
})
|
||||||
|
|
||||||
require'nvim-treesitter.configs'.setup {
|
require'nvim-treesitter.configs'.setup {
|
||||||
ensure_installed = { "c", "lua", "kotlin", "javascript", "typescript" },
|
ensure_installed = { "vim", "c", "lua", "kotlin", "javascript", "typescript" },
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
additional_vim_regex_highlighting = false,
|
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)
|
return require('packer').startup(function(use)
|
||||||
use 'wbthomason/packer.nvim'
|
use 'wbthomason/packer.nvim'
|
||||||
use {
|
use {
|
||||||
|
@ -28,6 +48,20 @@ return require('packer').startup(function(use)
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
use 'p00f/nvim-ts-rainbow'
|
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)
|
end)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue