cursor
This commit is contained in:
@@ -5,3 +5,7 @@ autocmd("LspAttach", {
|
||||
vim.lsp.document_color.enable(false, args.buf, { "background" })
|
||||
end,
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd("VimLeave", {
|
||||
command = "set guicursor=a:ver25"
|
||||
})
|
||||
|
||||
@@ -29,6 +29,7 @@ local cmp_kinds = {
|
||||
local cmp = require('cmp')
|
||||
|
||||
cmp.setup({
|
||||
preselect = 'None',
|
||||
formatting = {
|
||||
fields = { 'kind', 'abbr' },
|
||||
format = function(_, vim_item)
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
require("huez").setup({
|
||||
path = vim.fs.normalize(vim.fn.stdpath("data") --[[@as string]]) .. "/huez",
|
||||
fallback = "default",
|
||||
suppress_messages = true,
|
||||
theme_config_module = nil,
|
||||
exclude = { "desert", "evening", "industry", "koehler", "morning", "murphy", "pablo", "peachpuff", "ron", "shine", "slate", "torte", "zellner", "blue", "darkblue", "delek", "quiet", "elflord", "habamax", "lunaperche", "zaibatsu", "wildcharm", "sorbet", "vim", },
|
||||
background = "dark",
|
||||
picker = {
|
||||
themes = {
|
||||
layout = "right",
|
||||
opts = {},
|
||||
},
|
||||
favorites = {
|
||||
layout = "right",
|
||||
opts = {},
|
||||
},
|
||||
live = {
|
||||
layout = "right",
|
||||
opts = {},
|
||||
},
|
||||
ensured = {
|
||||
layout = "right",
|
||||
opts = {},
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -98,6 +98,7 @@ require("mason-lspconfig").setup({
|
||||
})
|
||||
|
||||
cmp.setup {
|
||||
preselect = 'None',
|
||||
formatting = {
|
||||
fields = { 'kind', 'abbr' },
|
||||
format = function(entry, vim_item)
|
||||
|
||||
@@ -76,6 +76,7 @@ local virtual_env = function()
|
||||
end
|
||||
|
||||
require("lualine").setup {
|
||||
laststatus = 0,
|
||||
options = {
|
||||
icons_enabled = true,
|
||||
theme = "auto",
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
return {
|
||||
content = {
|
||||
active = nil,
|
||||
inactive = nil,
|
||||
},
|
||||
use_icons = true,
|
||||
}
|
||||
+3
-1
@@ -27,7 +27,6 @@ vim.opt.formatoptions = "rqnj"
|
||||
-- vim.opt.foldlevel = 0
|
||||
-- vim.opt.foldlevelstart = 0
|
||||
vim.o.sessionoptions = "blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions"
|
||||
vim.o.laststatus = 3
|
||||
vim.o.clipboard = "unnamedplus"
|
||||
vim.o.cursorline = true
|
||||
vim.o.cursorlineopt = "number"
|
||||
@@ -36,6 +35,7 @@ vim.o.ignorecase = true
|
||||
vim.o.smartcase = true
|
||||
vim.o.mouse = "a"
|
||||
vim.o.number = true
|
||||
vim.o.termguicolors = true
|
||||
vim.o.numberwidth = 3
|
||||
vim.o.ruler = false
|
||||
vim.o.showmode = false
|
||||
@@ -53,5 +53,7 @@ local sep = is_windows and "\\" or "/"
|
||||
local delim = is_windows and ";" or ":"
|
||||
vim.env.PATH = table.concat({ vim.fn.stdpath "data", "mason", "bin" }, sep) .. delim .. vim.env.PATH
|
||||
|
||||
vim.api.nvim_set_hl( 0, "Cursor", { reverse = true })
|
||||
|
||||
-- vim-tpipeline
|
||||
vim.g.tpipeline_restore = 1
|
||||
|
||||
+36
-6
@@ -5,7 +5,17 @@ return {
|
||||
require("config.treesitter")
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"sainnhe/edge",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
config = function()
|
||||
vim.g.edge_enable_italic = 1
|
||||
vim.g.edge_style = "default"
|
||||
vim.g.edge_menu_selection_background = "purple"
|
||||
vim.cmd("colorscheme edge")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"rmagatti/auto-session",
|
||||
config = function()
|
||||
@@ -48,16 +58,21 @@ return {
|
||||
"nvim-lualine/lualine.nvim",
|
||||
event = "VeryLazy",
|
||||
config = function ()
|
||||
if vim.env.TMUX then
|
||||
vim.api.nvim_create_autocmd({ "FocusGained", "ColorScheme", "VimEnter" }, {
|
||||
callback = function()
|
||||
vim.defer_fn( function()
|
||||
vim.opt.laststatus = 0
|
||||
end, 100)
|
||||
end,
|
||||
})
|
||||
vim.o.laststatus = 0
|
||||
end
|
||||
require("config.lualine")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"mawkler/modicator.nvim",
|
||||
setup = function()
|
||||
vim.o.cursorline = true
|
||||
vim.o.number = true
|
||||
vim.o.termguicolors = true
|
||||
end,
|
||||
config = function()
|
||||
require("config.modicator")
|
||||
end
|
||||
@@ -252,5 +267,20 @@ return {
|
||||
},
|
||||
{
|
||||
"vimpostor/vim-tpipeline",
|
||||
},
|
||||
{
|
||||
"yazeed1s/minimal.nvim",
|
||||
config = function()
|
||||
vim.g.minimal_italic_comments = true
|
||||
end,
|
||||
},
|
||||
{
|
||||
"vague2k/huez.nvim",
|
||||
branch = "stable",
|
||||
event = "UIEnter",
|
||||
import = "huez-manager.import",
|
||||
config = function()
|
||||
require("config.huez")
|
||||
end,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user