From c98870c934a589ae6388f3874a589a3a33d7a9d0 Mon Sep 17 00:00:00 2001 From: CelticBoozer Date: Tue, 29 Apr 2025 17:35:31 +0300 Subject: [PATCH 1/5] docs: star-history --- README.md | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index da8ff3b..f49adca 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,22 @@ when opening relevant files. [PLACE IMAGE HERE] โ€“ (e.g., screenshot of Neovim with this config) -## โญ Stay Updated +## :heart: Acknowledgements -If you find this configuration helpful, consider starring the repo! Feedback -and suggestions are always appreciated. +I would like to thank the entire community, anyone who uses or is inspired by +my dotfiles. To everyone who inspired or helped me (I tried to indicate each +author in each script or file I borrowed fully or partially). + +If you like this project and want to express your gratitude - star this +repository. Or you can donate. + +### :star: Star history + +[![Star History Chart](https://www.star-history.com/#CelticBoozer/nvim-config&CelticBoozer/dotfiles&Timeline) + +### :coin: Donation + +| ![USDT-TRC20](.github/assets/USDT.jpg) | ![BTC](.github/assets/BTC.jpg) | ![ETH](.github/assets/ETH.jpg) | +|:----------------------------------:|:------------------------------------------:|:------------------------------------------:| +| USDT TRC20 | BTC | ETH | +| TGhY5bCn12EDP3MGgs8Qg4YerczhP3PsC5 | bc1qru2p84r3zecva68e804jtjqp923mx2eekqwg3a | 0xb00d88737B0BD4f5cb5fc7519b3d27045b796ceb | From 622fe364ff60c840f1f7d7afc6be8bc39cf51868 Mon Sep 17 00:00:00 2001 From: CelticBoozer Date: Tue, 29 Apr 2025 17:36:27 +0300 Subject: [PATCH 2/5] docs: fix star history --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f49adca..bb0acdf 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ repository. Or you can donate. ### :star: Star history -[![Star History Chart](https://www.star-history.com/#CelticBoozer/nvim-config&CelticBoozer/dotfiles&Timeline) +![Star History Chart](https://www.star-history.com/#CelticBoozer/nvim-config&CelticBoozer/dotfiles&Timeline) ### :coin: Donation From 91e823f32b6a04e1863e93238b1a71f7d259bb8f Mon Sep 17 00:00:00 2001 From: CelticBoozer Date: Tue, 29 Apr 2025 17:38:42 +0300 Subject: [PATCH 3/5] docs: fix link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bb0acdf..0d360a3 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ repository. Or you can donate. ### :star: Star history -![Star History Chart](https://www.star-history.com/#CelticBoozer/nvim-config&CelticBoozer/dotfiles&Timeline) +[![Star History Chart](https://api.star-history.com/svg?repos=CelticBoozer/nvim-config&type=Timeline&theme=dark)](https://star-history.com/#CelticBoozer/nvim-config&Timeline) ### :coin: Donation From b6c21d94e233ba8ab6319312d34f387e791504e2 Mon Sep 17 00:00:00 2001 From: CelticBoozer Date: Tue, 6 May 2025 22:02:54 +0300 Subject: [PATCH 4/5] another change --- README.md | 56 ++++++++++---- init.lua | 1 + lazy-lock.json | 10 +-- lua/core/functions.lua | 5 ++ lua/plugin/completion/cmp.lua | 6 +- lua/plugin/dap/dap.lua | 2 +- lua/plugin/syntax/treesitter.lua | 2 + lua/plugin/ui/fine-cmd-line.lua | 2 +- lua/plugin/ui/gitsigns.lua | 8 -- lua/plugin/ui/statuscol.lua | 25 +----- lua/plugin/ui/ufo.lua | 126 +++++++++++++++---------------- lua/plugin/util/auto-session.lua | 21 +++--- lua/plugin/util/which-key.lua | 22 +++--- 13 files changed, 143 insertions(+), 143 deletions(-) create mode 100644 lua/core/functions.lua diff --git a/README.md b/README.md index 0d360a3..5874bd1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Neovim configuration +# :hammer_and_wrench: Neovim configuration ![commitlint](https://img.shields.io/github/actions/workflow/status/CelticBoozer/nvim-config/commitlint.yaml?branch=master&label=commitlint) ![StyLua](https://img.shields.io/github/actions/workflow/status/CelticBoozer/nvim-config/stylua.yaml?branch=master&label=StyLua) @@ -17,11 +17,6 @@ file, LSP integration, and consistent style conventions). 1. **Install Neovim** (version >= 0.8) on your system. 2. **Clone this repo** into your config directory: - -```bash -git clone https://github.com/CelticBoozer/nvim-config.git ~/.config/nvim -``` - 3. Install plugin manager (lazy.nvim) will automatically setup on first launch. 4. Open Neovim and let it install plugins. 5. Install external dependencies listed below. @@ -54,16 +49,45 @@ version control. coloring. - Quickkey Hints: which-key integration for discovering keybindings. -## ๐Ÿ“š Usage Examples - -- Open Telescope file search: ff -- Toggle NvimTree: te -- Git status (lazygit): gg -- LSP actions: aa for code actions, tl for diagnostics, etc. -- Color preview: Hex color codes will display actual colors via nvim-colorizer.lua -when opening relevant files. +## Hotkeys -[PLACE IMAGE HERE] โ€“ (e.g., screenshot of Neovim with this config) +| Group | Key(s) | Description | +|---------------------|----------------------|---------------------------------------| +| **File (โŽˆ f)** | `ff` | Find files (Telescope) | +| | `fr` | Recently opened files | +| | `fg` | Live grep | +| | `fb` | List buffers | +| | `fh` | Help tags | +| **Explorer (โŽˆ e)** | `e` | Toggle file tree | +| | `E` | Focus file tree | +| **Git (โŽˆ g)** | `gs` | Git status (Neogit) | +| | `gc` | Git commits | +| | `gb` | Git branches | +| | `gd` | Git diff | +| | `gp` | Git push | +| **LSP (โŽˆ l)** | `ld` | Go to definition | +| | `lh` | Hover documentation | +| | `li` | LSP info | +| | `lr` | Rename symbol | +| | `la` | Code action | +| | `lf` | Format document | +| | `le` | Show diagnostics | +| | `lq` | Set quickfix list | +| **Test/Debug (โŽˆ t)**| `tt` | Toggle test summary | +| | `tn` | Next test | +| | `tp` | Previous test | +| | `db` | Toggle breakpoint | +| | `dc` | Continue (debug) | +| | `dr` | Run to cursor | +| | `ds` | Step over | +| | `di` | Step into | +| **Search/Replace (โŽˆ s)** | `sr` | Replace in file | +| | `sR` | Replace in project | +| | `ss` | Search word under cursor | +| **Plugins (โŽˆ p)** | `pi` | Plugin install | +| | `pu` | Plugin update | +| | `ps` | Plugin sync | +| | `pc` | Plugin clean | ## :heart: Acknowledgements @@ -82,5 +106,5 @@ repository. Or you can donate. | ![USDT-TRC20](.github/assets/USDT.jpg) | ![BTC](.github/assets/BTC.jpg) | ![ETH](.github/assets/ETH.jpg) | |:----------------------------------:|:------------------------------------------:|:------------------------------------------:| -| USDT TRC20 | BTC | ETH | +| USDT TRC20 | BTC | ETH | | TGhY5bCn12EDP3MGgs8Qg4YerczhP3PsC5 | bc1qru2p84r3zecva68e804jtjqp923mx2eekqwg3a | 0xb00d88737B0BD4f5cb5fc7519b3d27045b796ceb | diff --git a/init.lua b/init.lua index 5eaedbc..5cc8973 100644 --- a/init.lua +++ b/init.lua @@ -1,6 +1,7 @@ -- NOTE: Core initialization file for Neovim configuration. Requires and sets up modules. require("core.options") require("core.lazy") +require("core.functions") -- Safe telescope extension loading vim.api.nvim_create_autocmd("User", { diff --git a/lazy-lock.json b/lazy-lock.json index ab480d3..28041be 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -17,9 +17,9 @@ "dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" }, "fine-cmdline.nvim": { "branch": "main", "commit": "aec9efebf6f4606a5204d49ffa3ce2eeb7e08a3e" }, "garbage-day.nvim": { "branch": "main", "commit": "750ef08ae6031ee3683014c5349144340c08ead6" }, - "gitsigns.nvim": { "branch": "main", "commit": "8dec8da8ed8a4463cc6abcd3cc3801373600767d" }, + "gitsigns.nvim": { "branch": "main", "commit": "ee28ba3e70ecea811b8f6d7b51d81976e94b121c" }, "gruvbox-material": { "branch": "master", "commit": "f5f912fbc7cf2d45da6928b792d554f85c7aa89a" }, - "inc-rename.nvim": { "branch": "main", "commit": "87ebe7bee0b83d3b6e4f1494c74abed21b318175" }, + "inc-rename.nvim": { "branch": "main", "commit": "726d28468e900e1172a04faeb7af0b18acd609e7" }, "indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" }, "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }, "lazygit.nvim": { "branch": "main", "commit": "b9eae3badab982e71abab96d3ee1d258f0c07961" }, @@ -44,12 +44,12 @@ "nvim-dap-ui": { "branch": "master", "commit": "73a26abf4941aa27da59820fd6b028ebcdbcf932" }, "nvim-dap-virtual-text": { "branch": "master", "commit": "df66808cd78b5a97576bbaeee95ed5ca385a9750" }, "nvim-lint": { "branch": "master", "commit": "9dfb77ef6c5092a19502883c02dc5a02ec648729" }, - "nvim-lspconfig": { "branch": "master", "commit": "2e3f389aa06c7b7c29600ec2e67ee64c332077eb" }, + "nvim-lspconfig": { "branch": "master", "commit": "94d0fec9135719e046903bbbbf8f39e3d3436d4e" }, "nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" }, "nvim-notify": { "branch": "master", "commit": "b5825cf9ee881dd8e43309c93374ed5b87b7a896" }, "nvim-surround": { "branch": "main", "commit": "0e62500b98f4513feaaf7425c135472457ea5b7d" }, "nvim-tree.lua": { "branch": "master", "commit": "582ae48c9e43d2bcd55dfcc8e2e7a1f29065d924" }, - "nvim-treesitter": { "branch": "master", "commit": "3b308861a8d7d7bfbe9be51d52e54dcfd9fe3d38" }, + "nvim-treesitter": { "branch": "master", "commit": "94ea4f436d2b59c80f02e293466c374584f03b8c" }, "nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "1b212c2eee76d787bbea6aa5e92a2b534e7b4f8f" }, "nvim-ufo": { "branch": "main", "commit": "cac999ec9f6302d2fd4ad8a846bf8f731af6e7cf" }, @@ -59,7 +59,7 @@ "promise-async": { "branch": "main", "commit": "119e8961014c9bfaf1487bf3c2a393d254f337e2" }, "rainbow-delimiters.nvim": { "branch": "master", "commit": "55ad4fb76ab68460f700599b7449385f0c4e858e" }, "reactive.nvim": { "branch": "master", "commit": "e0a22a42811ca1e7aa7531f931c55619aad68b5d" }, - "render-markdown.nvim": { "branch": "main", "commit": "7f81e9dcc15504c044f20df39d28a590cd5c6ca5" }, + "render-markdown.nvim": { "branch": "main", "commit": "8c33733b9af902250731539b2fe3920c76993765" }, "search.nvim": { "branch": "main", "commit": "7b8f2315d031be73e14bc2d82386dfac15952614" }, "sqls.nvim": { "branch": "main", "commit": "d1bc5421ef3e8edc5101e37edbb7de6639207a09" }, "statuscol.nvim": { "branch": "main", "commit": "a2580e009a3b4c51b5978768d907dafae2c919ac" }, diff --git a/lua/core/functions.lua b/lua/core/functions.lua new file mode 100644 index 0000000..f2a304f --- /dev/null +++ b/lua/core/functions.lua @@ -0,0 +1,5 @@ +vim.api.nvim_create_autocmd("TextYankPost", { + callback = function() + vim.highlight.on_yank() + end, +}) diff --git a/lua/plugin/completion/cmp.lua b/lua/plugin/completion/cmp.lua index 8141dd4..aeaf611 100644 --- a/lua/plugin/completion/cmp.lua +++ b/lua/plugin/completion/cmp.lua @@ -9,7 +9,7 @@ return { "hrsh7th/cmp-buffer", "hrsh7th/cmp-path", "hrsh7th/cmp-cmdline", - "L3MON4D3/LuaSnip", + { "L3MON4D3/LuaSnip", build = "make install_jsregexp" }, "saadparwaiz1/cmp_luasnip", "onsails/lspkind.nvim", "windwp/nvim-autopairs", @@ -31,8 +31,10 @@ return { }, sources = { { name = "nvim_lsp" }, - { name = "luasnip" }, { name = "buffer" }, + { name = "path" }, + { name = "cmdline" }, + { name = "luasnip" }, { name = "dotenv" }, { name = "supermaven" }, }, diff --git a/lua/plugin/dap/dap.lua b/lua/plugin/dap/dap.lua index 1c27332..0c243fb 100644 --- a/lua/plugin/dap/dap.lua +++ b/lua/plugin/dap/dap.lua @@ -39,7 +39,7 @@ return { desc = "Step Out", }, { - "", + "db", function() require("dap").toggle_breakpoint() end, diff --git a/lua/plugin/syntax/treesitter.lua b/lua/plugin/syntax/treesitter.lua index b9863ee..096ff8c 100644 --- a/lua/plugin/syntax/treesitter.lua +++ b/lua/plugin/syntax/treesitter.lua @@ -15,7 +15,9 @@ return { "javascript", "json", "lua", + "latex", "markdown", + "markdown_inline", "python", "sql", "toml", diff --git a/lua/plugin/ui/fine-cmd-line.lua b/lua/plugin/ui/fine-cmd-line.lua index 1b64df8..490988d 100644 --- a/lua/plugin/ui/fine-cmd-line.lua +++ b/lua/plugin/ui/fine-cmd-line.lua @@ -11,7 +11,7 @@ return { cmdline = { enable_keymaps = true, smart_history = true, - prompt = " ๓ฐ˜ณ ", + prompt = " > ", }, popup = { position = { diff --git a/lua/plugin/ui/gitsigns.lua b/lua/plugin/ui/gitsigns.lua index 1aa8d7f..d9ced5c 100644 --- a/lua/plugin/ui/gitsigns.lua +++ b/lua/plugin/ui/gitsigns.lua @@ -12,13 +12,5 @@ return { topdelete = { text = "โ€พ" }, changedelete = { text = "~" }, }, - on_attach = function(bufnr) - local gs = require("gitsigns") - vim.keymap.set("n", "hs", gs.stage_hunk, { buffer = bufnr, desc = "Stage hunk" }) - vim.keymap.set("n", "hu", gs.undo_stage_hunk, { buffer = bufnr, desc = "Undo stage hunk" }) - vim.keymap.set("n", "hr", gs.reset_hunk, { buffer = bufnr, desc = "Reset hunk" }) - vim.keymap.set("n", "hR", gs.reset_buffer, { buffer = bufnr, desc = "Reset buffer" }) - vim.keymap.set("n", "hp", gs.preview_hunk, { buffer = bufnr, desc = "Preview hunk" }) - end, }, } diff --git a/lua/plugin/ui/statuscol.lua b/lua/plugin/ui/statuscol.lua index 14a1c33..1e6fc1a 100644 --- a/lua/plugin/ui/statuscol.lua +++ b/lua/plugin/ui/statuscol.lua @@ -4,28 +4,5 @@ return { "luukvbaal/statuscol.nvim", event = "VeryLazy", - dependencies = { "kevinhwang91/nvim-ufo" }, - opts = { - setopt = true, - relculright = true, - segments = { - { - text = { "%C" }, - click = "v:lua.ScFa", - condition = { true }, - hl = "FoldColumn", - }, - { - text = { "%s" }, - click = "v:lua.ScSa", - hl = "SignColumn", - }, - { - text = { " ", "๏”", " " }, - click = "v:lua.ScLa", - hl = { "LineNr", "Comment" }, - condition = { true }, - }, - }, - }, + opts = {}, } diff --git a/lua/plugin/ui/ufo.lua b/lua/plugin/ui/ufo.lua index 9fb1f33..93688fb 100644 --- a/lua/plugin/ui/ufo.lua +++ b/lua/plugin/ui/ufo.lua @@ -3,79 +3,77 @@ return { "kevinhwang91/nvim-ufo", - event = "LspAttach", - dependencies = { - "kevinhwang91/promise-async", + dependencies = { "kevinhwang91/promise-async" }, + event = { "BufReadPost", "BufNewFile" }, + keys = { { - "luukvbaal/statuscol.nvim", - config = function() - require("statuscol").setup({ - foldfunc = "builtin", - setopt = true, - }) + "zM", + function() + require("ufo").closeAllFolds() end, + { desc = "Close All Folds" }, + }, + { + "zR", + function() + require("ufo").openAllFolds() + end, + { desc = "Open All Folds" }, }, }, opts = { - fold_virt_text_handler = function(virtText, lnum, endLnum, width, truncate) - local newVirtText = {} - local suffix = (" ๓ฐ‚ %d "):format(endLnum - lnum) - local sufWidth = vim.fn.strdisplaywidth(suffix) - local targetWidth = width - sufWidth - local curWidth = 0 - - for _, chunk in ipairs(virtText) do - local chunkText = chunk[1] - local chunkWidth = vim.fn.strdisplaywidth(chunkText) - if targetWidth > curWidth + chunkWidth then - table.insert(newVirtText, chunk) - else - chunkText = truncate(chunkText, targetWidth - curWidth) - local hlGroup = chunk[2] - table.insert(newVirtText, { chunkText, hlGroup }) - chunkWidth = vim.fn.strdisplaywidth(chunkText) - if curWidth + chunkWidth < targetWidth then - suffix = suffix .. (" "):rep(targetWidth - curWidth - chunkWidth) - end - break - end - curWidth = curWidth + chunkWidth + open_fold_hl_timeout = 150, + filetype_exclude = { "help", "dashboard", "neo-tree", "Trouble", "lazy", "mason" }, + preview = { + win_config = { + border = { "", "โ”€", "", "", "", "โ”€", "", "" }, + winhighlight = "Normal:Folded", + winblend = 0, + }, + mappings = { + scrollU = "", + scrollD = "", + jumpTop = "[", + jumpBot = "]", + }, + }, + -- luacheck: ignore 212 113 + provider_selector = function(bufnr, filetype, buftype) + local ft_map = { + vim = "indent", + python = { "indent" }, + git = "", + } + ---@diagnostic disable-next-line: undefined-global + if ft_map[filetype] ~= nl then + return ft_map[filetype] + end + return function() + return require("ufo") + .getFolds(bufnr, "lsp") + :catch(function() + return require("ufo").getFolds(bufnr, "treesitter") + end) + :catch(function() + return require("ufo").getFolds(bufnr, "indent") + end) end - table.insert(newVirtText, { suffix, "UfoFoldedEllipsis" }) - return newVirtText end, - provider_selector = function() - return { "treesitter", "indent" } + fold_virt_text_handler = function(virtText, lnum, endLnum, width, truncate) + local folded_lines = endLnum - lnum + virtText[#virtText + 1] = { (" โ†™ %d lines "):format(folded_lines), "Folded" } + return virtText end, }, config = function(_, opts) - -- Workaround for auto-session conflict: - vim.api.nvim_create_autocmd("BufReadPost", { - callback = function() - if not pcall(require, "ufo") then - vim.notify("nvim-ufo failed to load", vim.log.levels.WARN) - return - end - require("ufo").setup(opts) - end, - }) - - -- Configure LSP folding capabilities - vim.o.foldcolumn = "1" - vim.o.foldlevel = 99 - vim.o.foldlevelstart = 99 - vim.o.foldenable = true - vim.o.fillchars = [[eob: ,fold: ,foldopen:๏‘ผ,foldsep: ,foldclose:๏‘ ]] - - -- Link custom highlight group - vim.api.nvim_set_hl(0, "UfoFoldedEllipsis", { link = "Comment" }) - - -- Key mappings for folding - vim.keymap.set("n", "zE", require("ufo").openAllFolds) - vim.keymap.set("n", "zC", require("ufo").closeAllFolds) - vim.keymap.set("n", "ze", require("ufo").openFoldsExceptKinds) - vim.keymap.set("n", "zc", function() - require("ufo").closeFoldsWith(1) - end, { desc = "Close current fold" }) + local caps = vim.lsp.protocol.make_client_capabilities() + caps.textDocument.foldingRange = { + dynamicRegistration = false, + lineFoldingOnly = true, + } + for _, server in ipairs(vim.tbl_keys(require("lspconfig").servers or {})) do + require("lspconfig")[server].setup({ capabilities = caps }) + end + require("ufo").setup(opts) end, } diff --git a/lua/plugin/util/auto-session.lua b/lua/plugin/util/auto-session.lua index a59b8cd..47c675c 100644 --- a/lua/plugin/util/auto-session.lua +++ b/lua/plugin/util/auto-session.lua @@ -11,20 +11,21 @@ return { { "sl", "Telescope session-lens search_session", desc = "Search sessions" }, { "ss", "SessionSave", desc = "Save session" }, { "sr", "SessionRestore", desc = "Restore session" }, - { "sd", "SessionDelete", desc = "Delete session" }, }, config = function() require("auto-session").setup({ - log_level = "info", - auto_session_enable_last_session = false, - auto_save = true, - auto_restore = true, - show_auto_restore_notif = true, - session_lens = { - load_on_setup = true, - mappings = { - delete_session = { "n", "d" }, + { + auto_restore = true, + auto_restore_last_session = false, + auto_save = true, + log_level = "info", + session_lens = { + load_on_setup = true, + mappings = { + delete_session = { "n", "d" }, + }, }, + show_auto_restore_notif = true, }, }) diff --git a/lua/plugin/util/which-key.lua b/lua/plugin/util/which-key.lua index ba233ff..b3a8ca7 100644 --- a/lua/plugin/util/which-key.lua +++ b/lua/plugin/util/which-key.lua @@ -15,13 +15,12 @@ return { }, opts = { icons = { - group = vim.g.icons_enabled and "" or "+", + group = "๏€บ ", separator = "๎ฎŠ", breadcrumb = "ยป", }, - window = { + win = { border = "rounded", - margin = { 1, 0, 1, 0 }, }, layout = { spacing = 4, @@ -32,15 +31,14 @@ return { wk.setup(opts) -- Common prefix registrations - wk.register({ - [""] = { - f = { name = "Find" }, - t = { name = "Tool panels" }, - d = { name = "Debug" }, - s = { name = "Session" }, - c = { name = "Comment" }, - r = { name = "Refactor" }, - }, + wk.add({ + { "c", group = "Comment", icon = "๓ฐฟŸ " }, + { "d", group = "Debug" }, + { "e", group = "Execute", icon = "๎ซ“ " }, + { "f", group = "Find", icon = "๎ฉญ " }, + { "r", group = "Refactor" }, + { "s", group = "Session" }, + { "t", group = "Tool panels", icon = "๎ธ› " }, }) end, } From e373d13f0c76a239c874e521d0d998e9e39240b9 Mon Sep 17 00:00:00 2001 From: CelticBoozer Date: Wed, 7 May 2025 04:01:30 +0300 Subject: [PATCH 5/5] another change --- lua/core/options.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/core/options.lua b/lua/core/options.lua index 61fecb2..8c97706 100644 --- a/lua/core/options.lua +++ b/lua/core/options.lua @@ -44,6 +44,7 @@ o.mousemoveevent = true -- Basic color setup o.termguicolors = true o.background = "dark" +o.foldlevel = 99 vim.diagnostic.config({ severity_sort = true, -- Sort all diagnostics by severity