feat: add inlay hints

This commit is contained in:
Fabio Lenherr / DashieTM 2023-01-05 16:55:02 +01:00
parent f3a0d0d35f
commit b0664537c3
16 changed files with 661 additions and 641 deletions

View file

@ -1,28 +1,28 @@
local options = {
clipboard = "unnamedplus",
mouse = "n",
fileencoding = "utf-8",
relativenumber = true,
clipboard = "unnamedplus",
mouse = "n",
fileencoding = "utf-8",
relativenumber = true,
cursorline = false,
number = true,
smartindent = true,
smartcase = true,
showmode = true,
termguicolors = true,
ignorecase = true,
showtabline = 2,
timeoutlen = 200, -- time to wait for a mapped sequence to complete (in milliseconds)
undofile = true, -- enable persistent undoi updatetime = 300, -- faster completion (4000ms default)
writebackup = false, -- if a file is being edited by another program (or was written to file while editing with another program), it is not allowed to be edited
expandtab = true, -- convert tabs to spaces
shiftwidth = 2, -- the number of spaces inserted for each indentation
tabstop = 2, -- insert 2 spaces for a tab
scrolloff = 8,
sidescrolloff = 8,
spell = true,
smartindent = true,
smartcase = true,
showmode = true,
termguicolors = true,
ignorecase = true,
showtabline = 2,
timeoutlen = 200, -- time to wait for a mapped sequence to complete (in milliseconds)
undofile = true, -- enable persistent undoi updatetime = 300, -- faster completion (4000ms default)
writebackup = false, -- if a file is being edited by another program (or was written to file while editing with another program), it is not allowed to be edited
expandtab = true, -- convert tabs to spaces
shiftwidth = 2, -- the number of spaces inserted for each indentation
tabstop = 2, -- insert 2 spaces for a tab
scrolloff = 8,
sidescrolloff = 8,
spell = true,
syntax = "off",
spelllang = "en_us",
mousemodel = "popup_setpos",
spelllang = "en_us",
mousemodel = "popup_setpos",
shell = "/usr/bin/zsh"
}
@ -34,5 +34,5 @@ vim.g.mapleader = " "
vim.keymap.set("n", "<Space>", "<Nop>", { silent = true, noremap = false })
for k, v in pairs(options) do
vim.opt[k] = v
vim.opt[k] = v
end