๐Ÿ’ YAML toolkit for Neovim users

Adds instructions to see YAML info in the statusline

Thanks for the inspiration, @joshzcold :)

authored by

Eduardo Cuducos and committed by
Joshua Cold
e1b40609 c175904d

+15 -1
+15 -1
README.md
··· 69 69 70 70 ## Configuration 71 71 72 - ### Showing the YAML patch and value in Neovim's winbar 72 + ### Showing the YAML path and value 73 + 74 + #### Neovim's winbar 73 75 74 76 ```lua 75 77 -- Get yaml key ··· 87 89 vim.opt_local.winbar = [[%{%v:lua.require("yaml_nvim").get_yaml_key_and_value()%}]] 88 90 end, 89 91 }) 92 + ``` 93 + 94 + #### Neovim's statusline (with [`lualine.nvim`](https://github.com/nvim-lualine/lualine.nvim)) 95 + 96 + ```lua 97 + require("lualine").setup({ 98 + sections = { 99 + lualine_x = { require("yaml_nvim").get_yaml_key_and_value }, 100 + -- etc 101 + } 102 + }) 103 + 90 104 ``` 91 105 92 106 ## Reporting bugs and contributing