Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

LSP

Use the command :LspInstall to open the prompt to select a LSP to install for the current file type.

Snippets

https://github.com/L3MON4D3/LuaSnip

https://github.com/rafamadriz/friendly-snippets

You can show all available snippets for the current document type using the command :LuaSnipListAvailable . However, the most popular and “Astro-like” way to search snippets is via Telescope (telescope-luasnip.nvim). Please refer to telescope-luasnip.lua on enable and configure telescope-luasnip. The configuration set the keybinding <leader>fS for finding snippets.

Chaing Keyword Cases

gregorias/coerce.nvim is the best Neovim plugin for changing keyword cases. See [lua/plugins/coerce.lua] (lua/plugins/coerce.lua) for an example of enabling and configuring coere.nvim. By default, coerce.nvim uses keybindings cr and gcr (visual mode) to toggle on options for changing cases.

References