diff --git a/lua/data/func.lua b/lua/data/func.lua index 9b556f2..437d337 100644 --- a/lua/data/func.lua +++ b/lua/data/func.lua @@ -1353,6 +1353,7 @@ function M.spellcheck(spellcheck, filetypes) -- Create an autocommand for the specified filetypes to manage spellcheck vim.api.nvim_create_autocmd('FileType', { group = 'Spellcheck', + ---@diagnostic disable-next-line: assign-type-mismatch pattern = filetypes, callback = function() vim.opt_local.spell = spellcheck @@ -2448,6 +2449,10 @@ function M.get_system_arch() return result end + require('telescope.builtin').find_files({ + search_dirs = { '/home/rootiest/projects' }, + }) + -- If all else fails return 'unknown' end