[vim] schedule setup for lsp and telescope(-40ms from startup) #293
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
name: default | |
on: [push, pull_request] | |
jobs: | |
stylua: | |
name: stylua | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: JohnnyMorganz/stylua-action@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
# CLI arguments | |
args: --check ./nvim | |
selene: | |
name: selene | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- name: Install Selene linter | |
run: cargo install selene | |
- name: Run lint | |
run: make lint |