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

textDocument/hover on commands and macros doesn't work #1261

Closed
yunusey opened this issue Nov 6, 2024 · 0 comments · Fixed by #1271
Closed

textDocument/hover on commands and macros doesn't work #1261

yunusey opened this issue Nov 6, 2024 · 0 comments · Fixed by #1271
Assignees
Labels
enhancement New feature or request

Comments

@yunusey
Copy link

yunusey commented Nov 6, 2024

First of all, thanks for the amazing project! I've been using it pretty frequently for the last few months and found it extremely useful!

Currently, TexLab supports completions with unicode (and image, even though I am not able to use it currently) previews (please see the first dropdown) and supports textDocument/hover on labels and citations (please see the second dropdown). However, I don't think it currently supports textDocument/hover to preview, say \pi, \theta, or \leftarrow. I think it might be a good idea to add unicode preview when called hover on these commands/macros and documentation where applicable.


Example completion for \pi
textDocument/hover on an example label
My TexLab Configuration in Neovim
require('lspconfig').texlab.setup {
	on_attach = on_attach,
	capabilities = capabilities,
	filetypes = { "tex", "plaintex", "bib" },
	cmd = { "texlab" },
	settings = {
		texlab = {
			latexindent = {
				['local'] = vim.fn.getcwd() .. '/indentconfig.yaml',
			}
		}
	}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants