1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 05:48:01 +00:00

[neovim] Update config

This commit is contained in:
Daniel Carrillo 2024-05-01 12:09:54 +02:00
parent 9bd0a1bee1
commit 7aad945ee7
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
3 changed files with 7 additions and 5 deletions

View File

@ -25,8 +25,7 @@ vim.opt.number = true
vim.opt.laststatus = 3
vim.opt.showcmd = false
vim.opt.ruler = false
-- vim.opt.cc = "80"
vim.opt.listchars = "tab: ,trail:Ç"
vim.opt.listchars = "tab: ,trail:Ç"
vim.opt.list = true
vim.opt.expandtab = true
vim.opt.shiftwidth = 4
@ -47,6 +46,4 @@ vim.opt.foldlevel = 99
vim.opt.foldlevelstart = 99
vim.opt.foldcolumn = "1"
vim.opt.fillchars = [[eob: ,fold: ,foldopen:,foldsep: ,foldclose:,diff: ]]
-- experimental
vim.opt.cmdheight = 0 -- Number of screen lines to use for the command-line

View File

@ -59,7 +59,7 @@ cmp.setup({
["<C-b>"] = cmp.mapping(cmp.mapping.scroll_docs(-1), { "i", "c" }),
["<C-f>"] = cmp.mapping(cmp.mapping.scroll_docs(1), { "i", "c" }),
["<C-Space>"] = cmp.mapping(cmp.mapping.complete(), { "i", "c" }),
["q"] = cmp.mapping({
["<C-q>"] = cmp.mapping({
i = cmp.mapping.abort(),
c = cmp.mapping.close(),
}),

View File

@ -114,6 +114,11 @@ require("lualine").setup({
},
},
lsp_progress,
{
require("noice").api.statusline.mode.get,
cond = require("noice").api.statusline.mode.has,
color = { fg = "#ff9e64" },
},
{
require("noice").api.status.search.get,
cond = require("noice").api.status.search.has,