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

@@ -14,9 +14,8 @@ require('colorscheme')
require('lsp') require('lsp')
require('keybindings') require('keybindings')
require('layout') require('layout')
require('stopwatch').setup({}) require('stopwatch').setup({})
if vim.loop.os_gethostname() == 'ccflow' then if vim.loop.os_gethostname() == 'slaptop' then
require('diary') require('diary')
end end

View File

@@ -52,10 +52,11 @@ require("lazy").setup({
-- ['<Down>'] = { 'select_next', 'fallback' }, -- ['<Down>'] = { 'select_next', 'fallback' },
-- ['<S-Tab>'] = { 'select_prev', 'fallback' }, -- ['<S-Tab>'] = { 'select_prev', 'fallback' },
-- ['<Tab>'] = { 'select_next', 'fallback' }, -- ['<Tab>'] = { 'select_next', 'fallback' },
['<CR>'] = { 'select_and_accept', 'fallback' },
['<C-space>'] = { 'show_and_insert', 'fallback' },
-- ['<C-space>'] = { 'show', 'fallback' },
-- ['<C-n>'] = { 'accept', '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 }, signature = { enabled = true },
@@ -321,6 +322,7 @@ require("lazy").setup({
-- treesitter -- treesitter
{ {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
branch = "main",
build = ":TSUpdate", build = ":TSUpdate",
lazy = false, lazy = false,
-- config = function() -- config = function()
@@ -426,6 +428,10 @@ require("lazy").setup({
-- your configuration comes here -- your configuration comes here
-- or leave it empty to use the default settings -- or leave it empty to use the default settings
-- refer to the configuration section below -- 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})?):?]] },
} }
}, },