Change some defaults and the completion window looks
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 30s
Details
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 30s
Details
This commit is contained in:
parent
443a0cb897
commit
c8be7d19a7
|
@ -16,6 +16,9 @@ cmp.setup({
|
|||
},
|
||||
|
||||
-- Add borders to the windows
|
||||
view = {
|
||||
entries = "custom",
|
||||
},
|
||||
window = {
|
||||
completion = cmp.config.window.bordered(),
|
||||
documentation = cmp.config.window.bordered(),
|
||||
|
@ -105,6 +108,9 @@ cmp.setup.cmdline({ "/", "?" }, {
|
|||
|
||||
-- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore).
|
||||
cmp.setup.cmdline(":", {
|
||||
view = {
|
||||
entries = { name = "wildmenu", separator = ":" },
|
||||
},
|
||||
mapping = cmp.mapping.preset.cmdline(),
|
||||
sources = cmp.config.sources({
|
||||
{ name = "path" },
|
||||
|
|
|
@ -16,6 +16,7 @@ vim.opt.shiftwidth = 4
|
|||
vim.opt.expandtab = true
|
||||
vim.opt.splitright = true
|
||||
vim.opt.splitbelow = true
|
||||
vim.opt.relativenumber = true
|
||||
vim.g.mapleader = ","
|
||||
vim.cmd("set clipboard+=unnamedplus")
|
||||
vim.cmd("autocmd! CursorHold,CursorHoldI *.md write")
|
||||
|
@ -36,7 +37,7 @@ vim.cmd("colorscheme slate")
|
|||
vim.keymap.set("n", "<M-+>", ":colo tokyonight-day<CR>")
|
||||
vim.keymap.set("n", "<M-->", ":colo tokyonight-night<CR>")
|
||||
|
||||
vim.opt.mouse = ""
|
||||
-- vim.opt.mouse = ""
|
||||
|
||||
-- set copy mode
|
||||
vim.keymap.set("n", "<leader>ll", ":set nonumber<cr>")
|
||||
|
|
Loading…
Reference in New Issue