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

feat: lsp #803

Merged
merged 16 commits into from Dec 25, 2023
Merged

feat: lsp #803

merged 16 commits into from Dec 25, 2023

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Dec 17, 2023

Continuation of #741

Seems to work in neovim.

:lua vim.lsp.start({ name='dprint', cmd={'V:\\dprint\\target\\debug\\dprint.exe', 'lsp'} })
:lua vim.lsp.buf.format()

Other helpful neovim commands:

# enable debug logging
:lua vim.lsp.set_log_level('debug')
# get log file name
:lua =require('vim.lsp.log').get_filename()

Todo:

  • Schemas for dprint.json files

Closes #738

@dsherret dsherret marked this pull request as ready for review December 25, 2023 18:30
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.

Add dprint lsp command
2 participants