xzbdmw
xzbdmw
Hi, if I use this function ```lua vim.api.nvim_create_augroup("LeapIlluminate", {}) vim.api.nvim_create_autocmd("User", { pattern = "LeapPatternPost", callback = function() local winid = vim.api.nvim_get_current_win() local cursor = vim.api.nvim_win_get_cursor(winid) -- __AUTO_GENERATED_PRINT_VAR_START__ print([==[function cursor:]==], vim.inspect(cursor))...
If I add a redraw command under https://github.com/RRethy/vim-illuminate/blob/305bf07b919ac526deb5193280379e2f8b599926/lua/illuminate/highlight.lua#L51 it works, but need to work with autocmd above, and only redraw when triggered by that autocmd. otherwise makes ui laggy. my...
I think you are possible to write a custom treesitter capture group to capture `import xxx` as types and highlight `xxx.foo()` differently
with a light theme
If someone want to work with nvim-cmp, here is what I do(luasnippet not supported) https://github.com/smoka7/multicursors.nvim/assets/97848247/c88ced94-4d9d-4142-b00a-794e3f8c60b2 add a function below https://github.com/smoka7/multicursors.nvim/blob/b959ad0f38881e81e757208c6adfc9e6dc24dfc7/lua/multicursors/insert_mode.lua#L107 ```lua M.delete_char_except_main = function() local ns_id = api.nvim_create_namespace 'multicursors' local...
> Alright, I should have fixed your issue now May I ask why change session does not isolate bookmarks from different CWDs? It only works when starting nvim from different...
with this plugin: https://github.com/SUSTech-data/wildfire.nvim/assets/97848247/f6ae64e3-7fb5-496c-ad3d-737f61391016 with original treesitter https://github.com/SUSTech-data/wildfire.nvim/assets/97848247/d13b20f4-919e-4440-868f-d092a1ab3eff
This is my file structure that takes 100ms ```lua local projects = { "~/Project/lua/lua/fzf-lua", "~/Project/lua/fork/arrow.nvim", "~/Project/lua/color/nvim-cmp", "~/Project/lua/origin/nvim-cmp", "~/Documents/xzbdmw的副本", "~/Project/rust/2022-06-15-blogpost", "~/Project/rust/addr_test", "~/Project/rust/advent-of-code", "~/Project/rust/aoc-2018", "~/Project/rust/async-chat", "~/Project/rust/async_await", "~/Project/rust/bicask", "~/Project/rust/black-hat-rust", "~/Project/rust/blog-rs", "~/Project/rust/blog_os", "~/Project/rust/cell", "~/Project/rust/closure_study",...
vimscript is crazy here. But I don't find lua alternative