lualine config edits

This commit is contained in:
Daniel B Sherry 2025-05-22 14:10:59 -05:00
parent 9331121a9f
commit 5c937dc1c8
19 changed files with 301 additions and 83 deletions

View file

@ -1,23 +1,22 @@
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.g.mapleader = " "
vim.g.maplocalleader = " "
vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
vim.fn.system {
'git',
'clone',
'--filter=blob:none',
'https://github.com/folke/lazy.nvim.git',
'--branch=stable', -- latest stable release
lazypath,
})
}
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup("plugins", {
require('lazy').setup('plugins', {
change_detection = {
notify = false,
},
@ -26,16 +25,8 @@ require("lazy").setup("plugins", {
require 'user.options'
require 'user.keymaps'
require 'user.colorscheme'
require 'user.autocmds'
-- require 'user.cmp'
-- require 'user.lsp'
-- require 'user.treesitter'
-- require 'user.autopairs'
-- require 'user.nvim-tree'
-- require 'user.bufferline'
vim.api.nvim_create_autocmd('TextYankPost', {
desc = 'Highlight when yanking (copying) text',
group = vim.api.nvim_create_augroup('kickstart-highlight-yank', { clear = true }),
callback = function()
vim.highlight.on_yank()
end,
})