Add support for various debian source files (debian/{tests/control,control,copyright,watch,upstream/metadata})#5107
Open
jelmer wants to merge 8 commits intodense-analysis:masterfrom
Open
Add support for various debian source files (debian/{tests/control,control,copyright,watch,upstream/metadata})#5107jelmer wants to merge 8 commits intodense-analysis:masterfrom
jelmer wants to merge 8 commits intodense-analysis:masterfrom
Conversation
Add Language Server Protocol support for debian/tests/control files using debian-lsp (https://github.com/jelmer/debian-lsp). Vim detects these files as filetype 'autopkgtest' by default.
Add Language Server Protocol support for debian/control files using debian-lsp (https://github.com/jelmer/debian-lsp). debian-lsp provides diagnostics, completions, and code actions for Debian package control files.
Add Language Server Protocol support for debian/copyright files using debian-lsp (https://github.com/jelmer/debian-lsp).
Add Language Server Protocol support for debian/changelog files using debian-lsp (https://github.com/jelmer/debian-lsp).
Add Language Server Protocol support for debian/source/format files using debian-lsp (https://github.com/jelmer/debian-lsp).
Add Language Server Protocol support for debian/upstream/metadata files using debian-lsp (https://github.com/jelmer/debian-lsp). Note: Vim does not detect debian/upstream/metadata files by default. Users need to add filetype detection to their vimrc: autocmd BufNewFile,BufRead */debian/upstream/metadata setfiletype debupstream
Add Language Server Protocol support for debian/watch files using debian-lsp (https://github.com/jelmer/debian-lsp). Note: Vim does not detect debian/watch files by default. Users need to add filetype detection to their vimrc: autocmd BufNewFile,BufRead */debian/watch setfiletype debwatch
Update supported-tools.md, ale-supported-languages-and-tools.txt, and ale.txt table of contents to include the new Debian filetype linters (autopkgtest, debchangelog, debcontrol, debcopyright, debsources, debupstream, debwatch).
Member
|
Thanks for this! Looks like I'll need to find some time to run through ALE PRs again and get more things merged. I'll have a look when I can! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds support for a number of file formats used in Debian source packages, as supported by the debian-lsp.
I've added basic tests and manually tested that things work.
Since this is a single LSP that supports a number of different file formats, this PR feels a bit repetitive. I've tried to stick to the pattern I saw for other formats, but if you'd rather I consolidate some of the entries and documentation files, please let me know.