commits
Fix NPE accessing non existing values (fixes #36)
Fix a bug caused by usage of global value
Actually this plugin is conflicted with another plugin `nkakouros-original/numbers.nvim` that is also using a global 'M'
This reverts commit 01e643a35ad91cc096ec148c7d1aab5701a03a4b, reversing
changes made to 1c1096a0b4b2cc31ca7cf430570911faaeca02c2.
Co-authored-by: Eduardo Cuducos <4732915+cuducos@users.noreply.github.com>
Formatted tabs in code blocks to be consistent with style previously used in README. Added guide for resolving treesitter error.
fix: nil check on clean_up_block_value
While editing you could create
```yaml
something:
```
and as soon as you hit `:` it would hit `nil` at clean_up_block_value
Add safety to get_value, is_sequence_block on nil values
Support for returning an empty value instead of crashing when the value
is nil
This helps when working on in-progress yaml files while the winbar is
activated
Add function for getting just the yaml key into the winbar
Thanks for the inspiration, @joshzcold :)
get_yaml_key_and_value can be distracting with large yaml values, so
this is another option for those that might want it
Thanks for the inspiration, @joshzcold :)
Add function to return the path, to be added to the winbar. Like jsonpath.nvim
get_yaml_key_and_value does the assure_yaml_filetype functions manually
- .view() uses .get() to call its returned value
- Add lua example to docs