add more plugins and change theme

This commit is contained in:
CaseyStratton 2023-04-30 18:02:24 -05:00
parent b292e2a418
commit 2222eb9b35
5 changed files with 33 additions and 12 deletions

View File

@ -0,0 +1,6 @@
-- Tab is 2 spaces.
vim.o.tabstop = 2
vim.o.shiftwidth = 2
-- Line numbers are relative to current line.
vim.o.relativenumber = true

View File

@ -112,14 +112,6 @@ require('lazy').setup({
}, },
}, },
{ -- Theme inspired by Atom
'navarasu/onedark.nvim',
priority = 1000,
config = function()
vim.cmd.colorscheme 'onedark'
end,
},
{ -- Set lualine as statusline { -- Set lualine as statusline
'nvim-lualine/lualine.nvim', 'nvim-lualine/lualine.nvim',
-- See `:help lualine.txt` -- See `:help lualine.txt`
@ -290,7 +282,7 @@ require('nvim-treesitter.configs').setup {
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim' }, ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim' },
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
auto_install = false, auto_install = true,
highlight = { enable = true }, highlight = { enable = true },
indent = { enable = true, disable = { 'python' } }, indent = { enable = true, disable = { 'python' } },
@ -409,9 +401,8 @@ local servers = {
-- clangd = {}, -- clangd = {},
-- gopls = {}, -- gopls = {},
-- pyright = {}, -- pyright = {},
-- rust_analyzer = {}, rust_analyzer = {},
-- tsserver = {}, tsserver = {},
lua_ls = { lua_ls = {
Lua = { Lua = {
workspace = { checkThirdParty = false }, workspace = { checkThirdParty = false },

View File

@ -0,0 +1,12 @@
return {
'nvim-neo-tree/neo-tree.nvim',
version = '*',
dependencies = {
'nvim-lua/plenary.nvim',
'nvim-tree/nvim-web-devicons',
'MunifTanjim/nui.nvim',
},
config = function ()
require('neo-tree').setup {}
end
}

View File

@ -0,0 +1,8 @@
return {
'catppuccin/nvim',
priority = 1000,
config = function()
vim.cmd.colorscheme 'catppuccin'
end,
}

View File

@ -0,0 +1,4 @@
return {
'christoomey/vim-tmux-navigator',
lazy = false,
}