Select a color scheme for your Dotfyle experience

catgoose / templ-goto-definition

templ-goto-definition

Fixes golang templ goto definition to open .templ file instead of generated .go file
20 6 1 4 days ago
lsp manually-created
templ-goto-definition enhances the Neovim gopls LSP goto definition for templ templates by opening the correct templ file at the function definition. It requires the templ treesitter grammar for locating function names and falls back on a text search strategy when treesitter is unavailable.