Closed roylez closed 2 months ago
4433e5e
MacOS 14.2.1
<leader>t
It should color text like it does for column 1.
-- DO NOT change the paths and don't remove the colorscheme local root = vim.fn.fnamemodify("./.repro", ":p") -- set stdpaths to use .repro for _, name in ipairs({ "config", "data", "state", "cache" }) do vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name end -- bootstrap lazy local lazypath = root .. "/plugins/lazy.nvim" if not vim.loop.fs_stat(lazypath) then vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, }) end vim.opt.runtimepath:prepend(lazypath) -- install plugins local plugins = { "folke/tokyonight.nvim", { "folke/which-key.nvim", config = true }, -- add any other plugins here { "davidoc/taskpaper.vim", ft = 'taskpaper', dependencies = { "folke/which-key.nvim", }, config = function() vim.g["task_paper_search_hide_done"] = 1 vim.g["no_taskpaper_maps"] = 1 local wk = require("which-key") wk.register({ t = { name = 'TaskPaper', t = { ":call taskpaper#toggle_tag('today', '')<CR>", '标注 @today' }, T = { ":call taskpaper#search_tag('today')<CR>", '显示当日' }, D = { ":call taskpaper#archive_done()<CR>", '归档' }, s = { ":call taskpaper#search()<CR>", '搜索...' }, d = { function() if vim.api.nvim_call_function('taskpaper#has_tag', { 'done' }) == 1 then vim.api.nvim_call_function('taskpaper#delete_tag', { 'done' }) else vim.api.nvim_call_function('taskpaper#delete_tag', { 'today' }) vim.api.nvim_call_function('taskpaper#add_tag', { 'done', '' }) end end, '标注 @done' }, } },{ prefix = '<leader>' }) end, } } require("lazy").setup(plugins, { root = root .. "/plugins", }) vim.cmd.colorscheme("tokyonight") -- add anything else here
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Did you check docs and existing issues?
Neovim version (nvim -v)
4433e5e
Operating system/version
MacOS 14.2.1
Describe the bug
Steps To Reproduce
<leader>t
Expected Behavior
It should color text like it does for column 1.
Repro