-
Notifications
You must be signed in to change notification settings - Fork 40
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
Some opam updates #73
Merged
+37
−9
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
au BufNewFile,BufRead opam,*.opam,*.opam.template setf opam | ||
au BufNewFile,BufRead opam,*.opam,*.opam.template,opam.locked,*.opam.locked setf opam |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
" Vim syntax file | ||
" Language: OPAM - OCaml package manager | ||
" Language: opam - OCaml package manager | ||
" Maintainer: Markus Mottl <[email protected]> | ||
" URL: https://github.com/ocaml/vim-ocaml | ||
" Last Change: | ||
|
@@ -11,8 +11,36 @@ endif | |
|
||
" need %{vars}% | ||
" env: [[CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"]] | ||
syn keyword opamKeyword1 remove depends pin-depends depopts conflicts env packages patches version maintainer tags license homepage authors doc install author available name depexts substs synopsis description | ||
syn match opamKeyword2 "\v(bug-reports|post-messages|ocaml-version|opam-version|dev-repo|build-test|build-doc|build)" | ||
syn keyword opamKeyword1 author | ||
syn keyword opamKeyword1 authors | ||
syn keyword opamKeyword1 available | ||
syn keyword opamKeyword1 conflicts | ||
syn keyword opamKeyword1 depends | ||
syn keyword opamKeyword1 depexts | ||
syn keyword opamKeyword1 depopts | ||
syn keyword opamKeyword1 description | ||
syn keyword opamKeyword1 doc | ||
syn keyword opamKeyword1 extra-files | ||
syn keyword opamKeyword1 features | ||
syn keyword opamKeyword1 flags | ||
syn keyword opamKeyword1 homepage | ||
syn keyword opamKeyword1 install | ||
syn keyword opamKeyword1 libraries | ||
syn keyword opamKeyword1 license | ||
syn keyword opamKeyword1 maintainer | ||
syn keyword opamKeyword1 messages | ||
syn keyword opamKeyword1 name | ||
syn keyword opamKeyword1 patches | ||
syn keyword opamKeyword1 pin-depends | ||
syn keyword opamKeyword1 remove | ||
syn keyword opamKeyword1 run-test | ||
syn keyword opamKeyword1 setenv | ||
syn keyword opamKeyword1 substs | ||
syn keyword opamKeyword1 synopsis | ||
syn keyword opamKeyword1 syntax | ||
syn keyword opamKeyword1 tags | ||
syn keyword opamKeyword1 version | ||
syn match opamKeyword2 "\v(bug-reports|post-messages|opam-version|dev-repo|build)" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is the reason to have both There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No idea. You can try including it in opamKeyword1 and see if it works. |
||
|
||
syn keyword opamTodo FIXME NOTE NOTES TODO XXX contained | ||
syn match opamComment "#.*$" contains=opamTodo,@Spell | ||
|
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-i
i no more available, is it required to have only installed ones?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't think so