Adjustments for slaptop and completion providers, TODO markers

This commit is contained in:
Sascha Lüdecke
2026-07-21 20:23:55 +02:00
parent 35992a31d5
commit 8202d991df
2 changed files with 10 additions and 5 deletions

View File

@@ -52,10 +52,11 @@ require("lazy").setup({
-- ['<Down>'] = { 'select_next', 'fallback' },
-- ['<S-Tab>'] = { 'select_prev', 'fallback' },
-- ['<Tab>'] = { 'select_next', 'fallback' },
['<CR>'] = { 'select_and_accept', 'fallback' },
['<C-space>'] = { 'show_and_insert', 'fallback' },
-- ['<C-space>'] = { 'show', 'fallback' },
-- ['<C-n>'] = { 'accept', 'fallback' },
--
['<CR>'] = { 'select_and_accept', 'fallback' },
-- ['<C-space>'] = { 'select_next', 'show_and_insert', 'fallback' },
['<C-space>'] = { function(cmp) cmp.show({ providers = { 'lsp' } }) end },
},
signature = { enabled = true },
@@ -321,6 +322,7 @@ require("lazy").setup({
-- treesitter
{
"nvim-treesitter/nvim-treesitter",
branch = "main",
build = ":TSUpdate",
lazy = false,
-- config = function()
@@ -426,6 +428,10 @@ require("lazy").setup({
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
-- allow for
-- // TODO.2026-05-02 - this markers
search = { pattern = [[\b(KEYWORDS)(.\d{4}-\d{2}-\d{2})?:?]] },
highlight = { pattern = [[.*<((KEYWORDS)%(.\d{4}-\d{2}-\d{2})?):?]] },
}
},