starter/lua/config/options.lua
2025-11-25 17:43:06 +00:00

18 lines
545 B
Lua

-- Options are automatically loaded before lazy.nvim startup
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
-- Add any additional options here
vim.schedule(function()
vim.o.clipboard = "unnamedplus"
end)
vim.o.scrolloff = 10
-- Semantic highlighting
vim.g.lazyvim_semantic_highlighting = false
-- Kill any orphaned tsserver processes when Neovim exits
vim.api.nvim_create_autocmd("ExitPre", {
callback = function()
vim.fn.system("pkill -f 'tsserver.js'")
end,
})