diff --git a/.cspell/words.txt b/.cspell/words.txt index 327285b..8cbf1ff 100644 --- a/.cspell/words.txt +++ b/.cspell/words.txt @@ -33,15 +33,19 @@ autoload autopairs autotrigger barbar +bartosz bashls bbuild belowright +berard +bjarne blankline blinkoff400 blinkon blinkwait700 block-blinkwait175-blinkoff150-blinkon175 blockwise +booch borderchars briones bufhidden @@ -52,6 +56,7 @@ bufs buftype buildifier builtins +cargill catgoose cclose cflags @@ -103,8 +108,11 @@ dartformat dartls datapath dcmake_build_type +deallocating delims deluser +dennie +deutsch devicons diffoff diffopt @@ -112,6 +120,7 @@ diffutils dotfiles doums dpkg +drucker dstein64 dsun dviml @@ -120,6 +129,7 @@ dviml_common easymotion echohl editmsg +edsger enable_autosnippets enabledelayedexpansion enableextensions @@ -153,6 +163,7 @@ fs_scandir fs_scandir_next ftplugin funcobj +gerrand getbufinfo getcmdline getcmdtype @@ -161,6 +172,7 @@ getreg gettype gitsigns globalstatus +glyn gname gofmt gofumpt @@ -177,7 +189,9 @@ guifont guioptions guipopupmenu helpclose +hinz hlsearch +hoare homedrive homepath honza @@ -197,6 +211,8 @@ jdtls joinpath jsdoc kanagawa +keeppattern +kernighan keycodes keymap keymaps @@ -205,9 +221,11 @@ keywordprg kosayoda kyazdani42 kylechui +lamport laststatus lclose leoluz +linder linehl linematch listchars @@ -240,20 +258,25 @@ markdownlint matchpairs matchparen matchparenforeground +mathisen maxmempattern menuone messagesopt mfussenegger mhartington mhinz +milewski minipairs minipairs_cr minisnippets minisnippets_expand minisnippets_next mkdir +mosher +mosher's mousehide msgsep +multibyte multigrid muniftanjim mvdan @@ -285,6 +308,7 @@ notificationss nowait nowrap nowritebackup +nuff numberwidth numhl nv_darcula_open_nvim_tree @@ -364,11 +388,14 @@ statusline stdpath stevearc stlnc +stroustrup struct +strwidth stsewd sumhexa sumneko swapfile +swartz sysname systemlist tabclose @@ -378,6 +405,7 @@ tabline tabnew tabnext tabprevious +terje termcodes termguicolors texthl @@ -394,6 +422,7 @@ tspunctdelimiter tspunctspecial tsuri ttimeoutlen +tufte ultisnips undodir undofile @@ -428,6 +457,8 @@ vmap vmargs vsdbg vsplit +wadler +wilczek wildmenu wildmode williamboman diff --git a/nvim/lua/darcula/utils/fortune.lua b/nvim/lua/darcula/utils/fortune.lua index 3cc3336..5c70ebb 100644 --- a/nvim/lua/darcula/utils/fortune.lua +++ b/nvim/lua/darcula/utils/fortune.lua @@ -104,7 +104,7 @@ local function boxed(...) local wrapped = {} for _, line in ipairs(quote_val) do -- reuse vim.fn.split with the same regex used originally - local parts = vim.fn.split(line, "\\%50c.\\{-}\\zs\\s", 1) + local parts = vim.fn.split(line, "\\%50c.\\{-}\\zs\\s", true) for _, p in ipairs(parts) do table.insert(wrapped, p) end @@ -569,7 +569,7 @@ fortune_cfg.predefined_quotes = { { "Fix the problem, not the blame.", "", - "It doesn't really matter whether the bug is your fault or someone else's - it is still your problem, and it still needs to be fixed." + "It doesn't really matter whether the bug is your fault or someone elses - it is still your problem, and it still needs to be fixed." }, { '"select" isn\'t broken.',