fix no statusline in nvim
This commit is contained in:
parent
59656e019f
commit
61398a659c
6 changed files with 43 additions and 34 deletions
|
|
@ -29,5 +29,5 @@ require("lazy").setup({
|
||||||
-- colorscheme that will be used when installing plugins.
|
-- colorscheme that will be used when installing plugins.
|
||||||
install = { colorscheme = { "habamax" } },
|
install = { colorscheme = { "habamax" } },
|
||||||
-- automatically check for plugin updates
|
-- automatically check for plugin updates
|
||||||
-- checker = { enabled = true },
|
-- checker = { enabled = true },
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -13,11 +13,13 @@ vim.schedule(function()
|
||||||
vim.opt.clipboard = 'unnamedplus'
|
vim.opt.clipboard = 'unnamedplus'
|
||||||
end)
|
end)
|
||||||
|
|
||||||
vim.o.winborder = 'rounded'
|
-- opt.shortmess:append({ W = true, I = true, c = true }) -- INFO: this control the format of some messages
|
||||||
opt.breakindent = true -- Every wrapped line will continue visually indented
|
-- vim.o.exrc = true
|
||||||
|
-- vim.opt.list = true -- Sets how neovim will display certain whitespace characters in the editor.
|
||||||
|
-- vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
|
||||||
opt.autowrite = true -- Enable auto write
|
opt.autowrite = true -- Enable auto write
|
||||||
-- opt.completeopt = "menu,menuone,noselect"
|
opt.breakindent = true -- Every wrapped line will continue visually indented
|
||||||
vim.o.completeopt = 'noselect,menu,menuone,noinsert,popup'
|
opt.completeopt = "menu,menuone,noselect"
|
||||||
opt.conceallevel = 2 -- Hide * markup for bold and italic
|
opt.conceallevel = 2 -- Hide * markup for bold and italic
|
||||||
opt.confirm = true -- Confirm to save changes before exiting modified buffer
|
opt.confirm = true -- Confirm to save changes before exiting modified buffer
|
||||||
opt.cursorline = true -- Enable highlighting of the current line
|
opt.cursorline = true -- Enable highlighting of the current line
|
||||||
|
|
@ -26,13 +28,10 @@ opt.formatoptions = "jcroqlnt" -- tcqj
|
||||||
opt.grepformat = "%f:%l:%c:%m"
|
opt.grepformat = "%f:%l:%c:%m"
|
||||||
opt.grepprg = "rg --vimgrep"
|
opt.grepprg = "rg --vimgrep"
|
||||||
opt.ignorecase = true -- Ignore case
|
opt.ignorecase = true -- Ignore case
|
||||||
opt.inccommand = "nosplit" -- preview incremental substitute
|
opt.inccommand = 'split' -- Preview substitutions live, as you type!
|
||||||
opt.laststatus = 0
|
|
||||||
vim.opt.list = true -- Sets how neovim will display certain whitespace characters in the editor.
|
|
||||||
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
|
|
||||||
opt.mouse = "a" -- Enable mouse mode
|
opt.mouse = "a" -- Enable mouse mode
|
||||||
opt.number = true -- Print line number
|
|
||||||
opt.nrformats = 'blank,bin,hex'
|
opt.nrformats = 'blank,bin,hex'
|
||||||
|
opt.number = true -- Print line number
|
||||||
opt.pumblend = 10 -- Popup blend
|
opt.pumblend = 10 -- Popup blend
|
||||||
opt.pumheight = 10 -- Maximum number of entries in a popup
|
opt.pumheight = 10 -- Maximum number of entries in a popup
|
||||||
opt.relativenumber = true -- Relative line numbers
|
opt.relativenumber = true -- Relative line numbers
|
||||||
|
|
@ -40,7 +39,6 @@ opt.scrolloff = 15 -- Lines of context
|
||||||
opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize" }
|
opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize" }
|
||||||
opt.shiftround = true -- Round indent
|
opt.shiftround = true -- Round indent
|
||||||
opt.shiftwidth = 2 -- Size of an indent
|
opt.shiftwidth = 2 -- Size of an indent
|
||||||
-- opt.shortmess:append({ W = true, I = true, c = true }) -- INFO: this control the format of some messages
|
|
||||||
opt.showmode = false -- Don't show mode since we have a statusline
|
opt.showmode = false -- Don't show mode since we have a statusline
|
||||||
opt.sidescrolloff = 8 -- Columns of context
|
opt.sidescrolloff = 8 -- Columns of context
|
||||||
opt.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift the text each time
|
opt.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift the text each time
|
||||||
|
|
@ -57,8 +55,8 @@ opt.updatetime = 200 -- Save swap file and trigger CursorHold
|
||||||
opt.wildmode = "longest,list:full" -- Command-line completion mode
|
opt.wildmode = "longest,list:full" -- Command-line completion mode
|
||||||
opt.winminwidth = 5 -- Minimum window width
|
opt.winminwidth = 5 -- Minimum window width
|
||||||
opt.wrap = false -- Disable line wrap
|
opt.wrap = false -- Disable line wrap
|
||||||
opt.inccommand = 'split' -- Preview substitutions live, as you type!
|
vim.o.completeopt = 'noselect,menu,menuone,noinsert,popup'
|
||||||
-- vim.o.exrc = true
|
vim.o.winborder = 'rounded'
|
||||||
|
|
||||||
vim.o.sessionoptions = "blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions"
|
vim.o.sessionoptions = "blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@ return {
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{ "nvim-tree/nvim-web-devicons", lazy = true },
|
{ "nvim-tree/nvim-web-devicons", lazy = true },
|
||||||
},
|
},
|
||||||
lazy = false,
|
|
||||||
cmd = "Grapple",
|
cmd = "Grapple",
|
||||||
keys = {
|
keys = {
|
||||||
{ "<leader><leader>a", "<cmd>Grapple toggle<cr>", desc = "Toggle bookmark for current file" },
|
{ "<leader><leader>a", "<cmd>Grapple toggle<cr>", desc = "Toggle bookmark for current file" },
|
||||||
|
|
|
||||||
13
Configs/nvim/.config/nvim/lua/aleidk/plugins/debug.lua
Normal file
13
Configs/nvim/.config/nvim/lua/aleidk/plugins/debug.lua
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"mfussenegger/nvim-dap",
|
||||||
|
dependencies = {
|
||||||
|
{
|
||||||
|
"igorlfs/nvim-dap-view",
|
||||||
|
---@module 'dap-view'
|
||||||
|
---@type dapview.Config
|
||||||
|
opts = {},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -5,7 +5,6 @@ return {
|
||||||
"mason-org/mason.nvim",
|
"mason-org/mason.nvim",
|
||||||
opts = {}
|
opts = {}
|
||||||
},
|
},
|
||||||
{ "nvim-tree/nvim-web-devicons", lazy = true },
|
|
||||||
{
|
{
|
||||||
"ckolkey/ts-node-action",
|
"ckolkey/ts-node-action",
|
||||||
dependencies = { "nvim-treesitter" },
|
dependencies = { "nvim-treesitter" },
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ return {
|
||||||
require('mini.notify').setup()
|
require('mini.notify').setup()
|
||||||
vim.notify = require('mini.notify').make_notify()
|
vim.notify = require('mini.notify').make_notify()
|
||||||
vim.keymap.set('n', '<Leader>un', require('mini.notify').show_history, { desc = 'Show notifications', silent = true })
|
vim.keymap.set('n', '<Leader>un', require('mini.notify').show_history, { desc = 'Show notifications', silent = true })
|
||||||
require('mini.statusline').setup({})
|
require('mini.statusline').setup()
|
||||||
require('mini.diff').setup({ view = { style = 'sign' } })
|
require('mini.diff').setup({ view = { style = 'sign' } })
|
||||||
|
|
||||||
require('mini.git').setup({})
|
require('mini.git').setup({})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue