You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.3 KiB
39 lines
1.3 KiB
-- 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 |
|
|
|
-- use '+' register by default to sync clipboard without "+p |
|
vim.opt.clipboard = "unnamedplus" |
|
|
|
-- Polish spellcheck by default, change runtime by :opt.spelllang = { "en_gb" } |
|
vim.opt.spelllang = { "pl,en" } |
|
|
|
--- Disable hiding of markup |
|
vim.opt.conceallevel = 0 |
|
|
|
--- Break lines at word boundaries |
|
vim.opt.wrap = true |
|
vim.opt.linebreak = true |
|
|
|
--- Copy the indent of the current line when inserting a new line |
|
vim.opt.autoindent = true |
|
|
|
--- Disable the inlay hints (additional information about types and parameters names) because it clutters view |
|
|
|
vim.g.lazyvim_no_inlay_hints = true |
|
|
|
-- -- Enable list mode to show whitespace |
|
-- vim.opt.list = true |
|
|
|
-- Configure listchars to use dots (·) for spaces and tabs |
|
vim.opt.listchars = { |
|
tab = "· ", -- Dot for the first part of a tab, followed by space |
|
trail = "·", -- Dot for trailing spaces |
|
nbsp = "+", -- Symbol for non-breaking spaces |
|
extends = ">", -- Symbol for characters that extend beyond the window |
|
precedes = "<", -- Symbol for characters that precede the window |
|
-- eol = "↲", -- Symbol for end of line (optional) |
|
} |
|
|
|
-- Do not hide syntax makers (**, ``` etc) |
|
-- vim.opt.conceallevel = 0
|
|
|