Move plugins to apt file, use consistent style, configure nvim-tree
This commit is contained in:
parent
3e1619ad97
commit
67ab7dd9c8
14
init.lua
14
init.lua
@ -57,6 +57,15 @@ if not vim.loop.fs_stat(lazypath) then
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
-- nvim-tree setup
|
||||||
|
|
||||||
|
-- disable netrw at the very start of your init.lua (strongly advised)
|
||||||
|
vim.g.loaded_netrw = 1
|
||||||
|
vim.g.loaded_netrwPlugin = 1
|
||||||
|
|
||||||
|
-- set termguicolors to enable highlight groups
|
||||||
|
vim.opt.termguicolors = true
|
||||||
|
-- [end] nvim-tree setup
|
||||||
|
|
||||||
-- NOTE: Here is where you install your plugins.
|
-- NOTE: Here is where you install your plugins.
|
||||||
-- You can configure plugins using the `config` key.
|
-- You can configure plugins using the `config` key.
|
||||||
@ -66,9 +75,6 @@ vim.opt.rtp:prepend(lazypath)
|
|||||||
require('lazy').setup({
|
require('lazy').setup({
|
||||||
-- NOTE: First, some plugins that don't require any configuration
|
-- NOTE: First, some plugins that don't require any configuration
|
||||||
|
|
||||||
-- Catppuccin theme
|
|
||||||
{ "catppuccin/nvim", name = "catppuccin" },
|
|
||||||
|
|
||||||
-- Git related plugins
|
-- Git related plugins
|
||||||
'tpope/vim-fugitive',
|
'tpope/vim-fugitive',
|
||||||
'tpope/vim-rhubarb',
|
'tpope/vim-rhubarb',
|
||||||
@ -427,6 +433,8 @@ local servers = {
|
|||||||
-- Setup neovim lua configuration
|
-- Setup neovim lua configuration
|
||||||
require('neodev').setup()
|
require('neodev').setup()
|
||||||
|
|
||||||
|
-- nvim-tree config empty setup using defaults
|
||||||
|
require("nvim-tree").setup()
|
||||||
-- nvim-cmp supports additional completion capabilities, so broadcast that to servers
|
-- nvim-cmp supports additional completion capabilities, so broadcast that to servers
|
||||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||||
capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities)
|
capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities)
|
||||||
|
@ -2,4 +2,15 @@
|
|||||||
-- I promise not to create any merge conflicts in this directory :)
|
-- I promise not to create any merge conflicts in this directory :)
|
||||||
--
|
--
|
||||||
-- See the kickstart.nvim README for more information
|
-- See the kickstart.nvim README for more information
|
||||||
return {}
|
return {
|
||||||
|
-- gruvbox theme
|
||||||
|
{'morhetz/gruvbox', config = function() vim.cmd.colorscheme('gruvbox') end },
|
||||||
|
-- Noctis Theme
|
||||||
|
{ 'talha-akram/noctis.nvim', name = 'noctis' },
|
||||||
|
-- Catppuccin theme
|
||||||
|
{ 'catppuccin/nvim', name = 'catppuccin' },
|
||||||
|
|
||||||
|
-- nvim-tree
|
||||||
|
'nvim-tree/nvim-tree.lua',
|
||||||
|
'nvim-tree/nvim-web-devicons',
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user