Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: added neovim lsp, formatting, and troubleshooting information. … #367

Merged
merged 11 commits into from
Dec 30, 2023
Merged

docs: added neovim lsp, formatting, and troubleshooting information. … #367

merged 11 commits into from
Dec 30, 2023

Conversation

nathan-hello
Copy link
Contributor

…(#363)

Hopefully this fleshes out the neovim configuration enough for beginners. The formatting section is a bit long, but I wanted to give some more context to said beginners.

All of this was from personal trial and error, so I can rewrite it if anything is inaccurate. Particularly the part about vim.lsp.buf.format() not working. I've never gotten it to work on templ, and I expect that's because the LSP is picking up the wrong LSP to format, so that's why I give instructions on how to use the templ fmt command from neovim.

@nilsherzig
Copy link

thanks :)

docs/docs/09-commands-and-tools/02-ide-support.md Outdated Show resolved Hide resolved
@a-h a-h merged commit 26f3270 into a-h:main Dec 30, 2023
4 checks passed
@a-h
Copy link
Owner

a-h commented Dec 30, 2023

Thanks, that all looks like useful information!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants