diff --git a/init.lua b/init.lua index af09188..58f4752 100644 --- a/init.lua +++ b/init.lua @@ -14,9 +14,8 @@ require('colorscheme') require('lsp') require('keybindings') require('layout') - require('stopwatch').setup({}) -if vim.loop.os_gethostname() == 'ccflow' then +if vim.loop.os_gethostname() == 'slaptop' then require('diary') end diff --git a/lua/plugins.lua b/lua/plugins.lua index 918f79b..9ffd28d 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -52,10 +52,11 @@ require("lazy").setup({ -- [''] = { 'select_next', 'fallback' }, -- [''] = { 'select_prev', 'fallback' }, -- [''] = { 'select_next', 'fallback' }, - [''] = { 'select_and_accept', 'fallback' }, - [''] = { 'show_and_insert', 'fallback' }, - -- [''] = { 'show', 'fallback' }, -- [''] = { 'accept', 'fallback' }, + -- + [''] = { 'select_and_accept', 'fallback' }, + -- [''] = { 'select_next', 'show_and_insert', 'fallback' }, + [''] = { 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})?):?]] }, } },