Update generated nvim config
This commit is contained in:
@ -0,0 +1,30 @@
|
||||
name: Format JSON files
|
||||
|
||||
# Controls when the workflow will run
|
||||
on:
|
||||
# Triggers the workflow on push or pull request events but only for the "main" branch
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
prettier:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
# Make sure the actual branch is checked out when running on pull requests
|
||||
ref: ${{ github.head_ref }}
|
||||
|
||||
- name: Format JSON
|
||||
uses: creyD/prettier_action@v4.3
|
||||
with:
|
||||
commit_message: "CI: format JSON files"
|
||||
only_changed: true
|
||||
# This part is also where you can pass other options, for example:
|
||||
prettier_options: --tab-width 4 --parser json --write **/*.json
|
||||
@ -0,0 +1 @@
|
||||
require('cmp').register_source('path', require('cmp_path').new())
|
||||
Reference in New Issue
Block a user