mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 16:18:00 +00:00
[neovim] Update config
This commit is contained in:
parent
9bd0a1bee1
commit
7aad945ee7
@ -25,8 +25,7 @@ vim.opt.number = true
|
|||||||
vim.opt.laststatus = 3
|
vim.opt.laststatus = 3
|
||||||
vim.opt.showcmd = false
|
vim.opt.showcmd = false
|
||||||
vim.opt.ruler = 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.list = true
|
||||||
vim.opt.expandtab = true
|
vim.opt.expandtab = true
|
||||||
vim.opt.shiftwidth = 4
|
vim.opt.shiftwidth = 4
|
||||||
@ -47,6 +46,4 @@ vim.opt.foldlevel = 99
|
|||||||
vim.opt.foldlevelstart = 99
|
vim.opt.foldlevelstart = 99
|
||||||
vim.opt.foldcolumn = "1"
|
vim.opt.foldcolumn = "1"
|
||||||
vim.opt.fillchars = [[eob: ,fold: ,foldopen:,foldsep: ,foldclose:,diff: ]]
|
vim.opt.fillchars = [[eob: ,fold: ,foldopen:,foldsep: ,foldclose:,diff: ]]
|
||||||
|
|
||||||
-- experimental
|
|
||||||
vim.opt.cmdheight = 0 -- Number of screen lines to use for the command-line
|
vim.opt.cmdheight = 0 -- Number of screen lines to use for the command-line
|
||||||
|
@ -59,7 +59,7 @@ cmp.setup({
|
|||||||
["<C-b>"] = cmp.mapping(cmp.mapping.scroll_docs(-1), { "i", "c" }),
|
["<C-b>"] = cmp.mapping(cmp.mapping.scroll_docs(-1), { "i", "c" }),
|
||||||
["<C-f>"] = 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" }),
|
["<C-Space>"] = cmp.mapping(cmp.mapping.complete(), { "i", "c" }),
|
||||||
["q"] = cmp.mapping({
|
["<C-q>"] = cmp.mapping({
|
||||||
i = cmp.mapping.abort(),
|
i = cmp.mapping.abort(),
|
||||||
c = cmp.mapping.close(),
|
c = cmp.mapping.close(),
|
||||||
}),
|
}),
|
||||||
|
@ -114,6 +114,11 @@ require("lualine").setup({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
lsp_progress,
|
lsp_progress,
|
||||||
|
{
|
||||||
|
require("noice").api.statusline.mode.get,
|
||||||
|
cond = require("noice").api.statusline.mode.has,
|
||||||
|
color = { fg = "#ff9e64" },
|
||||||
|
},
|
||||||
{
|
{
|
||||||
require("noice").api.status.search.get,
|
require("noice").api.status.search.get,
|
||||||
cond = require("noice").api.status.search.has,
|
cond = require("noice").api.status.search.has,
|
||||||
|
Loading…
Reference in New Issue
Block a user