-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from lukas-reineke/develop
- Loading branch information
Showing
6 changed files
with
156 additions
and
123 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_style = space | ||
indent_size = 4 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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,22 +1,43 @@ | ||
name: Pull request check | ||
|
||
on: | ||
pull_request: | ||
pull_request: | ||
|
||
jobs: | ||
format: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: JohnnyMorganz/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
args: --check . | ||
|
||
block-fixup: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Block Fixup Commit Merge | ||
uses: 13rac1/[email protected] | ||
format: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: JohnnyMorganz/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
args: --check . | ||
|
||
block-fixup: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Block Fixup Commit Merge | ||
uses: 13rac1/[email protected] | ||
|
||
luacheck: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- uses: leafo/[email protected] | ||
with: | ||
luaVersion: 'luajit-2.1.0-beta3' | ||
|
||
- uses: leafo/[email protected] | ||
|
||
- name: build | ||
run: | | ||
luarocks install luacheck | ||
- name: test | ||
run: | | ||
luacheck lua | ||
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
globals = { "vim", "_" } | ||
max_line_length = false |
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 |
---|---|---|
|
@@ -2,15 +2,14 @@ | |
|
||
|
||
Author: Lukas Reineke <[email protected]> | ||
Version: 1.3.6 | ||
Version: 1.3.7 | ||
|
||
============================================================================== | ||
CONTENTS *cmp-rg* | ||
|
||
1. Options |cmp-rg-options| | ||
2. Setup |cmp-rg-setup| | ||
3. Changelog |cmp-rg-changelog| | ||
4. License |cmp-rg-license| | ||
3. License |cmp-rg-license| | ||
|
||
============================================================================== | ||
1. OPTIONS *cmp-rg-options* | ||
|
@@ -112,59 +111,7 @@ debug *cmp-rg-debug* | |
} | ||
============================================================================== | ||
3. CHANGELOG *cmp-rg-changelog* | ||
|
||
1.3.6 | ||
* Change default pattern to fix `--smart-case` | ||
|
||
1.3.5 | ||
* Update documentation | ||
|
||
1.3.4 | ||
* ignore byte results | ||
|
||
1.3.3 | ||
* use new cjson decode if on 0.6 | ||
|
||
1.3.2 | ||
* handle json decode errors | ||
|
||
1.3.1 | ||
* Un-indent context in documentation window | ||
|
||
1.3.0 | ||
* Add context documentation window | ||
* Add |cmp-rg-context_before| | ||
* Add |cmp-rg-context_after| | ||
|
||
1.2.0 | ||
* update documentation to move from `opts` to `option` | ||
|
||
1.1.3 | ||
* Fix documentation | ||
|
||
1.1.2 | ||
* Fix quotes for windows | ||
|
||
1.1.1 | ||
* Add examples to the documentation | ||
|
||
1.1.0 | ||
* Kill in progress ripgrep instances once a new one triggers. | ||
* Add |cmp-rg-debug| option | ||
* Add |cmp-rg-debounce| option | ||
|
||
1.0.2 | ||
* Fix ripgrep pattern for zsh | ||
|
||
1.0.1 | ||
* Remove `sort` dependency | ||
|
||
1.0.0 | ||
* First release | ||
|
||
============================================================================== | ||
4. LICENSE *cmp-rg-license* | ||
3. LICENSE *cmp-rg-license* | ||
|
||
The MIT Licence | ||
http://www.opensource.org/licenses/mit-license.php | ||
|
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
---@class rg.Message | ||
---@field public type 'begin'|'match'|'context'|'end' | ||
---@field public data rg.MessageData | ||
|
||
---@class rg.MessageData | ||
---@field public path rg.MessageDataPath | ||
---@field public lines rg.MessageDataLines|nil | ||
---@field public submatches rg.MessageSubmatch[]|nil | ||
|
||
---@class rg.MessageDataPath | ||
---@field public text string | ||
|
||
---@class rg.MessageDataLines | ||
---@field public text string | ||
|
||
---@class rg.MessageSubmatch | ||
---@field public match rg.MessageSubmatchMatch | ||
|
||
---@class rg.MessageSubmatchMatch | ||
---@field public text string|nil |