Skip to content

Commit

Permalink
Merge pull request #326 from kkoomen/feature/upgrade-tree-sitter
Browse files Browse the repository at this point in the history
Upgrade all packages
  • Loading branch information
kkoomen authored May 1, 2022
2 parents 424247c + cdc686e commit d2c203a
Show file tree
Hide file tree
Showing 14 changed files with 6,997 additions and 4,290 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ jobs:
name: Build and upload binary assets
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
# os: [macos-latest, ubuntu-latest, windows-latest]
os: [macos-latest, ubuntu-latest]
include:
- node-version: 14
- node-version: 16
- os: macos-latest
target: macos
asset_name: vim-doge-macos.tar.gz
Expand All @@ -19,10 +20,10 @@ jobs:
target: linux
asset_name: vim-doge-linux.tar.gz
asset_path: ./bin/vim-doge-linux.tar.gz
- os: windows-latest
target: win
asset_name: vim-doge-win64.zip
asset_path: ./bin/vim-doge-win64.zip
# - os: windows-latest
# target: win
# asset_name: vim-doge-win64.zip
# asset_path: ./bin/vim-doge-win64.zip
runs-on : ${{ matrix.os }}
steps:
- name: Checkout kkoomen/vim-doge
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@ jobs:
name: Vim
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
# os: [macos-latest, ubuntu-latest, windows-latest]
os: [macos-latest, ubuntu-latest]
vim-version: [v7.4.2119, head]
node-version: [10, 12, 14]
node-version: [12, 14, 16]
include:
- os: macos-latest
target: macos
- os: ubuntu-latest
target: linux
- os: windows-latest
target: win
# - os: windows-latest
# target: win
runs-on: ${{ matrix.os }}
steps:
- name: Checkout kkoomen/vim-doge
Expand Down
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no -- commitlint --edit "\${1}"
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged --allow-empty
2 changes: 1 addition & 1 deletion ftplugin/lua.vim
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let b:doge_patterns = doge#buffer#get_patterns()
" Matches regular function expressions, definitions and class methods.
" ------------------------------------------------------------------------------
let s:function_and_class_method_pattern = {
\ 'nodeTypes': ['function', 'function_definition'],
\ 'nodeTypes': ['function', 'function_declaration', 'function_definition'],
\ 'parameters': {
\ 'format': '@param {name} !description',
\ },
Expand Down
Loading

0 comments on commit d2c203a

Please sign in to comment.