nvimdev / guard.nvim

async fast minimalist plugin make format easy in neovim
MIT License
448 stars 24 forks source link

feat!: fine tune user interface #158

Closed xiaoshihou514 closed 2 weeks ago

xiaoshihou514 commented 2 months ago

This pr fine tunes the user interface according to nvim-best-practices

xiaoshihou514 commented 2 months ago

@glepnir I think you would have to add some repo secrets as instructed here

xiaoshihou514 commented 2 months ago

It seems like vim.fn.executable may return 1 for tools that are installed by mason but not in PATH, I added a check for this in lua/guard/health.lua.

glepnir commented 1 month ago

also create a .luarc.json file for luals config.

glepnir commented 1 month ago

nice work

glepnir commented 1 month ago

thinking about create a floating window to show the all config of user defined and config for current buffer. like lspinfo we can call guard info or something else.

xiaoshihou514 commented 1 month ago

thinking about create a floating window to show the all config of user defined and config for current buffer. like lspinfo we can call guard info or something else.

I went for just printing, though that would be nice.

glepnir commented 1 month ago

yup. but no rush. can in the subsequent PR

xiaoshihou514 commented 1 month ago

Added info in floating markdown window :)