Skip to content

refactor: Refactor deprecated functions#59

Open
eric-huang-git wants to merge 3 commits intomax397574:masterfrom
eric-huang-git:refactor-deprecated-no-hl
Open

refactor: Refactor deprecated functions#59
eric-huang-git wants to merge 3 commits intomax397574:masterfrom
eric-huang-git:refactor-deprecated-no-hl

Conversation

@eric-huang-git
Copy link
Copy Markdown

  • 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)

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.

1 participant