more refactoring

I got the color scheme and tree sitter into their own files.
This commit is contained in:
topper3418 2024-07-23 18:27:39 -05:00
parent 84ca5bf93e
commit 2330a0d8ab
4 changed files with 50 additions and 90 deletions

View file

@ -0,0 +1,17 @@
return { -- You can easily change to a different colorscheme.
-- Change the name of the colorscheme plugin below, and then
-- change the command in the config to whatever the name of that colorscheme is.
--
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
'folke/tokyonight.nvim',
priority = 1000, -- Make sure to load this before all the other start plugins.
init = function()
-- Load the colorscheme here.
-- Like many other themes, this one has different styles, and you could load
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
vim.cmd.colorscheme 'tokyonight-night'
-- You can configure highlights by doing something like:
vim.cmd.hi 'Comment gui=none'
end,
}

View file

@ -2,7 +2,19 @@ return { -- Highlight, edit, and navigate code
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate',
opts = {
ensure_installed = { 'bash', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc', 'python', 'javascript', 'typescript' },
ensure_installed = {
'bash',
'diff',
'html',
'lua',
'luadoc',
'markdown',
'vim',
'vimdoc',
'python',
'javascript',
'typescript',
},
-- Autoinstall languages that are not installed
auto_install = true,
highlight = {