Skip to content

Commit

Permalink
chore: small improvements
Browse files Browse the repository at this point in the history
- improve Java config w/ jdtls and gradle
- improve completion even for usercmd after blink.cmp fix on cmdline
- update yaml formatting
- update github workflow
- more..
  • Loading branch information
kevinm6 committed Feb 1, 2025
1 parent 11ab37b commit 171e4ca
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/test_on_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ jobs:
- name: Install Neovim
shell: bash
run: |
cd /tmp/
wget -q https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz -O /tmp/nvim-linux64.tar.gz
tar xzvf nvim-linux64.tar.gz
cd /tmp/
wget -q https://github.com/neovim/neovim/releases/download/nightly/nvim-linux-x86_64.tar.gz -O /tmp/nvim_linux.tar.gz
tar xzvf nvim_linux64.tar.gz
- name: Run Tests
run: |
cd /tmp/
./nvim-linux64/bin/nvim --version
[ ! -d tests ] && exit 0
./nvim-linux64/bin/nvim --headless -u tests/init.lua -c "PlenaryBustedDirectory tests/ {minimal_init = 'tests/init.lua', sequential = true}"
cd /tmp/
./nvim_linux64/bin/nvim --version
[ ! -d tests ] && exit 0
./nvim_linux64/bin/nvim --headless -u tests/init.lua -c "PlenaryBustedDirectory tests/ {minimal_init = 'tests/init.lua', sequential = true}"
docs:
runs-on: ubuntu-latest
needs: tests
if: ${{ github.ref == 'refs/heads/main' }}
steps:
runs-on: ubuntu-latest
needs: tests
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v3
- name: panvimdoc
uses: kdheepak/panvimdoc@main
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
- uses: actions/checkout@v2
- name: tag stable versions
if: ${{ steps.release.outputs.release_created }}
run: |
run: |-
git config user.name github-actions[bot]
git config user.email github-actions[bot]@users.noreply.github.com
git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/google-github-actions/release-please-action.git"
Expand Down
6 changes: 4 additions & 2 deletions lua/plugins/lsp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -609,10 +609,12 @@ return {
typescriptreact = { "prettier" },
html = { "prettier" },
json = { "prettier" },
yaml = { { "yamlfmt", "prettier" } },
yaml = { "yamlfmt", "prettier" },
-- java = { "google-java-format" },
}

o.stop_after_first = true

o.format_on_save = function(bufnr)
if vim.g.disable_autoformat or vim.b[bufnr].disable_autoformat then
return
Expand Down Expand Up @@ -709,4 +711,4 @@ return {
capabilities = init_capabilities,
on_init = custom_init,
on_attach = custom_attach,
}
}

0 comments on commit 171e4ca

Please sign in to comment.