add more plugins and change theme
This commit is contained in:
parent
b292e2a418
commit
2222eb9b35
|
@ -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
|
15
init.lua
15
init.lua
|
@ -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
|
||||
'nvim-lualine/lualine.nvim',
|
||||
-- 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' },
|
||||
|
||||
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
|
||||
auto_install = false,
|
||||
auto_install = true,
|
||||
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true, disable = { 'python' } },
|
||||
|
@ -409,9 +401,8 @@ local servers = {
|
|||
-- clangd = {},
|
||||
-- gopls = {},
|
||||
-- pyright = {},
|
||||
-- rust_analyzer = {},
|
||||
-- tsserver = {},
|
||||
|
||||
rust_analyzer = {},
|
||||
tsserver = {},
|
||||
lua_ls = {
|
||||
Lua = {
|
||||
workspace = { checkThirdParty = false },
|
||||
|
|
|
@ -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
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
return {
|
||||
'catppuccin/nvim',
|
||||
priority = 1000,
|
||||
config = function()
|
||||
vim.cmd.colorscheme 'catppuccin'
|
||||
end,
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
'christoomey/vim-tmux-navigator',
|
||||
lazy = false,
|
||||
}
|
Loading…
Reference in New Issue