package-info.nvim
package-info.nvim copied to clipboard
✍️ All the npm/yarn/pnpm commands I don't want to type
### Issues - [X] I have checked [existing issues](https://github.com/vuki656/package-info.nvim/issues?q=is%3Aissue) and there are no issues with the same problem. ### Plugin Version - [X] I am using the latest version of...
If you run `change_version` in a lua project, it still opens the dialog. Detection can probably be done by trying to find a `package.json`
`E5108: Error executing lua .../opt/package-info.nvim/lua/package-info/modules/core.lua:173: Vim(edit):E37 : No write since last change (add ! to override)` You can't run `:e` on an file with unsaved changes https://github.com/vuki656/package-info.nvim/blob/10de4d0d50ec1d4d26118c4aa067a9d09e370c9c/lua/package-info/modules/core.lua#L171-L175
`selene` is better in diagnostic than `luacheck` and `sumneko-lua` , check it out [here](https://kampfkarren.github.io/selene/)
Used new `vim.ui.select` and `vim.ui.input` of the neovim api
It should check the current version and fetch all release notes up until the latest version
Instead of ```lua hide_up_to_date = false, hide_unstable_versions = false, ``` use ```lua hide = { up_to_date = false, unstable_versions = false, } ```
Colors should be set via highlight groups instead of the current implementation.
https://github.com/neovim/neovim/pull/16752 Implement when 0.7 released