mirror of
https://github.com/DefectingCat/nvim
synced 2025-07-16 01:01:34 +00:00
feat(ui): fix line highlight
This commit is contained in:
@ -6,7 +6,6 @@ vim.fn.sign_define(
|
|||||||
{ text = "", numhl = "DapBreakpointRejected", texthl = "DapBreakpointRejected" }
|
{ text = "", numhl = "DapBreakpointRejected", texthl = "DapBreakpointRejected" }
|
||||||
)
|
)
|
||||||
|
|
||||||
require "utils.autocmd"
|
require("utils.autocmd")
|
||||||
require "utils.usercmd"
|
require("utils.usercmd")
|
||||||
require "utils.options"
|
require("utils.neovide")
|
||||||
require "utils.neovide"
|
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
require "nvchad.options"
|
require("nvchad.options")
|
||||||
|
|
||||||
-- add yours here!
|
local opt = vim.opt
|
||||||
|
|
||||||
|
vim.g.dap_virtual_text = true
|
||||||
|
vim.wo.relativenumber = true
|
||||||
|
vim.wo.wrap = false
|
||||||
|
vim.o.cursorlineopt = "number,line"
|
||||||
|
-- opt.iskeyword:append("-")
|
||||||
|
opt.foldmethod = "expr"
|
||||||
|
opt.foldexpr = "nvim_treesitter#foldexpr()"
|
||||||
|
opt.foldlevel = 20
|
||||||
|
opt.ignorecase = true
|
||||||
|
opt.wildignore:append({ "*/node_modules/*" })
|
||||||
|
opt.clipboard:append({ "unnamedplus" })
|
||||||
|
opt.iskeyword:append("-")
|
||||||
|
opt.termguicolors = true -- True color support
|
||||||
|
opt.autoindent = true --- Good auto indent
|
||||||
|
@ -375,11 +375,11 @@ local plugins = {
|
|||||||
},
|
},
|
||||||
-- you can enable a preset for easier configuration
|
-- you can enable a preset for easier configuration
|
||||||
presets = {
|
presets = {
|
||||||
bottom_search = true, -- use a classic bottom cmdline for search
|
bottom_search = true, -- use a classic bottom cmdline for search
|
||||||
command_palette = true, -- position the cmdline and popupmenu together
|
command_palette = true, -- position the cmdline and popupmenu together
|
||||||
long_message_to_split = true, -- long messages will be sent to a split
|
long_message_to_split = true, -- long messages will be sent to a split
|
||||||
inc_rename = false, -- enables an input dialog for inc-rename.nvim
|
inc_rename = false, -- enables an input dialog for inc-rename.nvim
|
||||||
lsp_doc_border = true, -- add a border to hover docs and signature help
|
lsp_doc_border = true, -- add a border to hover docs and signature help
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -428,10 +428,10 @@ local plugins = {
|
|||||||
opts = {
|
opts = {
|
||||||
enhanced_diff_hl = true,
|
enhanced_diff_hl = true,
|
||||||
view = {
|
view = {
|
||||||
merge_tool = {
|
--[[ merge_tool = {
|
||||||
layout = "diff3_mixed",
|
layout = "diff3_mixed",
|
||||||
disable_diagnostics = true,
|
disable_diagnostics = true,
|
||||||
},
|
}, ]]
|
||||||
},
|
},
|
||||||
keymaps = {
|
keymaps = {
|
||||||
view = {
|
view = {
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
local opt = vim.opt
|
|
||||||
|
|
||||||
vim.g.dap_virtual_text = true
|
|
||||||
vim.wo.relativenumber = true
|
|
||||||
vim.wo.wrap = false
|
|
||||||
-- opt.iskeyword:append("-")
|
|
||||||
opt.foldmethod = "expr"
|
|
||||||
opt.foldexpr = "nvim_treesitter#foldexpr()"
|
|
||||||
opt.foldlevel = 20
|
|
||||||
opt.ignorecase = true
|
|
||||||
opt.wildignore:append { "*/node_modules/*" }
|
|
||||||
opt.clipboard:append { "unnamedplus" }
|
|
||||||
opt.iskeyword:append "-"
|
|
||||||
opt.termguicolors = true -- True color support
|
|
||||||
opt.autoindent = true --- Good auto indent
|
|
Reference in New Issue
Block a user