diff --git a/nvim/init.lua b/nvim/init.lua index 852d8bf..59dece8 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -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)