pwntester / octo.nvim

Edit and review GitHub issues and pull requests from the comfort of your favorite editor
MIT License
2.33k stars 125 forks source link

Update docs to correct deprecated treesitter config #259

Closed timtyrrell closed 2 years ago

timtyrrell commented 2 years ago

Describe what this PR does / why we need it

Updates the documentation to resolve a deprecation message from a recent treesitter change: https://github.com/nvim-treesitter/nvim-treesitter/commit/58a4897e6d5f21a9178ae0f802d47af26d67a219

used_by is deprecated, please use 'filetype_to_parsername'

Does this pull request fix one issue?

Fixes #258

Describe how you did it

Updated docs and README to use the new syntax parser_config.markdown.filetype_to_parsername = "octo"

Describe how to verify it

Changed my neovim config locally to use parser_config.markdown.filetype_to_parsername = "octo" and the deprecated message vanished

Special notes for reviews

pwntester commented 2 years ago

Thanks!