Skip to content

refactor: Refactor deprecated functions - #59

Merged
max397574 merged 3 commits into
max397574:masterfrom
eric-huang-git:refactor-deprecated-no-hl
May 5, 2026
Merged

max397574 merged 3 commits into
max397574:masterfrom
eric-huang-git:refactor-deprecated-no-hl

Conversation

@eric-huang-git

Copy link
Copy Markdown
Contributor
  • Replaced nvim_buf_set_option and nvim_win_set_option -> nvim_set_option_value
  • Replaced vim.api.nvim_exec([[pwd]], true) -> vim.fn.getcwd()
  • Replaced vim.api.nvim_get_option -> vim.api.nvim_get_option_value
  • Used newer syntax on vim.validate
  • Commented out unused/unreachable code
  • Ran stylua .

I tried to use extmark for highlights, but couldn't quite get it working
This branch seems to work on my computer, please do let me know if this needs to run more tests.
(P.S. I don't fully understand the gendocs.lua, so maybe I need some instructions on how to make the docs)

@johnDeSilencio

Copy link
Copy Markdown

Bump. Would be nice to see the deprecation warnings go away for this awesome plugin

@max397574

Copy link
Copy Markdown
Owner

thx

@max397574
max397574 merged commit 8d54182 into max397574:master May 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants