Commit Graph

155 Commits

Author SHA1 Message Date
Rasmus Uth Pedersen
d55452136a Syntax: Add a missing whitespace requirement to comments
Some checks failed
VimScript / test (push) Has been cancelled
According to the spec:

    A line that begins with # is treated as a comment and ignored.
    Whitespace followed by a # causes the # and the remainder of the line
    to be treated as a comment.

Before this patch the following had a mistakenly highlighted
comment (pip doesn't accept this):

    numpy==2.1.3#not a comment

(There's no whitespace before the #).
2024-12-10 23:34:08 +08:00
Sunjay Cauligi
ca7ddb63a8 Remove augroup
see bullet 2. under :h ftdetect
2024-07-15 14:46:42 +08:00
raimon
7ff1331918 Add note about this plugin 2024-04-17 19:09:37 +09:00
raimon
f7abd4d5dd Update gitpython version included in examples
Via Dependabot alerts
https://github.com/raimon49/requirements.txt.vim/security/dependabot/14
2023-08-30 19:01:03 +09:00
Wu Zhenyu
065c3e13da ✏️ Fix a typo about shebang 2023-07-06 13:49:57 +08:00
raimon
4047bbf1d0 Merge pull request #36 from Freed-Wu/master
🔥 Remove coc completion source code
v-1.9.0
2023-06-18 18:28:17 +09:00
Wu Zhenyu
69823d6549 🔥 Remove coc completion source code
https://github.com/Freed-Wu/requirements-language-server
realize a language server for requirements.txt which has more functions
and better performance and support all editors which supports LSP.

The coc completion source code of this repository can be removed to
avoid the conflict of coc.nvim user.
2023-06-18 16:34:23 +08:00
raimon
5314eccd6d Re-compile dependencies with latest version of pip-tools
Fix Security alert of Werkzeug
2023-02-19 17:23:54 +09:00
raimon
032479fa4b Re-compile dependencies with latest version of pip-tools
Fix Security alert of Werkzeug
2023-02-19 17:23:54 +09:00
raimon
d1a03f3ff1 Merge pull request #35 from Freed-Wu/doc
Add document
2022-11-01 19:43:38 +09:00
raimon
f3a37bc1bf Merge pull request #34 from Freed-Wu/shebang
Support shebang detection
2022-11-01 19:35:04 +09:00
Wu Zhenyu
527129455a Add document
Generate document by vimdoc
Add a pre-commit-hook to call vimdoc automatically after git commit
2022-10-31 08:32:59 +08:00
Wu Zhenyu
f3fac5ff9a Support shebang detection 2022-10-18 22:22:58 +08:00
raimon
f3f13b9fdc Bump version to 1.8.0 v-1.8.0 2022-10-18 18:28:42 +09:00
raimon
0734dec101 Merge pull request #32 from Freed-Wu/keyword
Update syntax
2022-10-18 18:05:37 +09:00
Wu Zhenyu
93fe769b08 Update syntax
According to <https://pip.pypa.io/en/stable/reference/requirements-file-format>, now requirements.txt support `${ENVIRONMENT_VAR}`. So I add it.
And I add syntax highlight for strings and keywords.
2022-10-16 18:41:39 +08:00
raimon
f3a33024f7 Merge pull request #31 from Freed-Wu/ftplugin
Fix ftplugin/*.vim
2022-10-14 18:52:37 +09:00
raimon
9f0e2da04f Merge pull request #30 from Freed-Wu/completion
completion
2022-10-14 18:42:42 +09:00
Wu Zhenyu
045c389147 Add document of pip-cache 2022-10-13 23:16:10 +08:00
Wu Zhenyu
52b9158acc Add completions and documents
Use `vimdoc .` to generate documentation.
User can use plugin manager to do it automatically when update plugin.
2022-10-13 18:43:56 +08:00
Wu Zhenyu
06cd9b6eb9 Fix ftplugin/*.vim 2022-10-13 18:38:21 +08:00
raimon
4c06f2e231 Merge pull request #28 from Freed-Wu/master
Add augroup
2022-10-13 19:19:31 +09:00
Wu Zhenyu
1b09330a7d Add augroup 2022-10-10 13:01:47 +08:00
raimon
00cf932653 Merge pull request #26 from Freed-Wu/master
Remove after
2022-10-10 11:45:26 +09:00
Wu Zhenyu
8850568eb3 Remove after
after/ftplugin/requirements.vim has been divided to ftplugin/requirements.vim and compiler/pip-compile.vim, so it should be deleted.
2022-10-08 22:23:15 +08:00
raimon
f246bd1015 Bump version to 1.7.1 v-1.7.1 2022-10-08 17:14:51 +09:00
raimon
883e6c2b37 Merge pull request #25 from Freed-Wu/master
Fix compiler, remove redundant message
2022-10-08 17:13:28 +09:00
Wu Zhenyu
6535e5b215 Fix compiler, remove redundant message 2022-10-08 00:27:09 +08:00
raimon
8ef8ed7f4c Add a section of 'Similar Projects' #24 v-1.7.0 2022-10-07 20:39:14 +09:00
raimon
6025eccf59 Merge pull request #24 from Freed-Wu/master
Add support for Number
2022-10-07 20:34:02 +09:00
Wu Zhenyu
5bc7854fc1 Add support for Number 2022-10-07 13:24:33 +08:00
raimon
8e21854365 Bump version to 1.6.2 v-1.6.2 2022-10-06 21:10:07 +09:00
raimon
e07d91f8a2 Merge pull request #23 from Freed-Wu/clean
Remove unused code
2022-10-06 21:06:50 +09:00
raimon
d89c314120 Merge pull request #22 from Freed-Wu/compiler
Fix compiler
2022-10-06 21:06:34 +09:00
raimon
a76aa91c2a Merge pull request #21 from Freed-Wu/master
Fix #20
2022-10-06 21:06:20 +09:00
Wu Zhenyu
e04b9d115d Remove unused code 2022-10-06 15:57:41 +08:00
Wu Zhenyu
61d429b70d Fix compiler 2022-10-06 15:54:43 +08:00
Wu Zhenyu
6d5502a100 Fix #20 2022-10-06 14:00:05 +08:00
raimon
b6dd6cc47f Merge pull request #18 from raimon49/fix-ci-error
Update version of Ruby in GitHub Actions
2022-03-30 20:23:26 +09:00
raimon
9b918a9fa8 Update dependencies for unittest 2022-03-30 20:20:56 +09:00
raimon
90c7f97616 Update version of Ruby in GitHub Actions 2022-03-30 20:08:16 +09:00
raimon
0a0ff4538c Merge pull request #17 from tssujt/patch-1
Update link for `Requirements File Format`
2022-03-30 19:42:27 +09:00
tssujt
1ea9b0267d Update link for Requirements File Format 2022-03-30 17:46:32 +08:00
raimon
777f6225c5 Merge pull request #16 from fwojciec/master
change default commentstring to compatible with spec
v-1.6.1
2021-12-04 11:09:29 +09:00
Filip Wojciechowski
d22b61911a change default commentstring to compatible with spec 2021-12-03 11:14:32 -08:00
raimon
978811288d Update warning version included in examples 2021-10-23 10:35:19 +09:00
raimon
ac7f865672 Use version 2.11.3 or later Jinja2 in examples 2021-03-31 19:36:19 +09:00
raimon
5318f3cc98 Re-compile dependencies with latest version of pip-tools
Fix Dependabot alerts for version of Pygments, Jinja2
2021-03-31 19:32:26 +09:00
raimon
19ffbeca75 Bump version to 1.6.0 v-1.6.0 2021-03-19 08:24:16 +09:00
raimon
01878b01b6 Set the same versioning comments as for other files 2021-03-19 08:22:46 +09:00