Initial commit

This commit is contained in:
2026-01-11 20:22:39 +00:00
commit cd33d58758
2 changed files with 25 additions and 0 deletions

24
init.lua Normal file
View File

@@ -0,0 +1,24 @@
vim.opt.termguicolors = true
vim.cmd.colorscheme("vim")
vim.opt.relativenumber = true
vim.opt.shada = "'100,<50,s10,h"
vim.api.nvim_create_autocmd("BufReadPost", {
callback = function()
local mark = vim.api.nvim_buf_get_mark(0, '"')
local lcount = vim.api.nvim_buf_line_count(0)
if mark[1] > 0 and mark[1] <= lcount then
pcall(vim.api.nvim_win_set_cursor, 0, mark)
end
end,
})
vim.lsp.enable('gopls')
vim.diagnostic.config({
virtual_text = {
spacing = 0,
},
severity_sort = true,
})

Submodule pack/nvim/start/nvim-lspconfig added at 92ee7d4232