Further file arrangement

This commit is contained in:
Yan Lin 2025-08-30 17:36:51 +02:00
parent ad5598e202
commit db6dd6076e
3 changed files with 27 additions and 37 deletions

View file

@ -242,12 +242,14 @@
},
})
-- Dictionary completion setup
require("cmp_dictionary").setup({
paths = { "/usr/share/dict/words" }, -- Standard dictionary path
exact_length = 2, -- Minimum length before completion
first_case_insensitive = true, -- Case insensitive matching
})
-- Dictionary completion setup (macOS only)
${lib.optionalString pkgs.stdenv.isDarwin ''
require("cmp_dictionary").setup({
paths = { "/usr/share/dict/words" }, -- Standard dictionary path on macOS
exact_length = 2, -- Minimum length before completion
first_case_insensitive = true, -- Case insensitive matching
})
''}
-- Telescope setup for better file finding
local telescope = require('telescope')