diff options
| author | Teo <malehurtadoreyes@hotmail.com> | 2021-09-27 15:29:49 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-27 22:29:49 +0200 |
| commit | be2b3864431796407cae0ebbe341bf392ae6fd1e (patch) | |
| tree | de6797dfbcaff5a32d682d62bbebe55f398461ae | |
| parent | feat: add a logger based on plenary.log (#99) (diff) | |
| download | mason-be2b3864431796407cae0ebbe341bf392ae6fd1e.tar mason-be2b3864431796407cae0ebbe341bf392ae6fd1e.tar.gz mason-be2b3864431796407cae0ebbe341bf392ae6fd1e.tar.bz2 mason-be2b3864431796407cae0ebbe341bf392ae6fd1e.tar.lz mason-be2b3864431796407cae0ebbe341bf392ae6fd1e.tar.xz mason-be2b3864431796407cae0ebbe341bf392ae6fd1e.tar.zst mason-be2b3864431796407cae0ebbe341bf392ae6fd1e.zip | |
Improve the CI for the fmt (#103)
| -rw-r--r-- | .github/workflows/ci.yml | 21 | ||||
| -rw-r--r-- | lua/nvim-lsp-installer/dispatcher.lua | 2 | ||||
| -rw-r--r-- | lua/nvim-lsp-installer/servers/texlab/init.lua | 2 |
3 files changed, 23 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..04ca8e81 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: Format Checker + +on: + push: + branches: + - '*' + pull_request: + branches: + - '*' + +jobs: + fmt: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup FMT + uses: JohnnyMorganz/stylua-action@1.0.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + # CLI arguments + args: ./lua/ --check diff --git a/lua/nvim-lsp-installer/dispatcher.lua b/lua/nvim-lsp-installer/dispatcher.lua index 7a53d17d..0ad41897 100644 --- a/lua/nvim-lsp-installer/dispatcher.lua +++ b/lua/nvim-lsp-installer/dispatcher.lua @@ -1,4 +1,4 @@ -local notify = require("nvim-lsp-installer.notify") +local notify = require "nvim-lsp-installer.notify" local M = {} diff --git a/lua/nvim-lsp-installer/servers/texlab/init.lua b/lua/nvim-lsp-installer/servers/texlab/init.lua index 57f4c050..47dfb09d 100644 --- a/lua/nvim-lsp-installer/servers/texlab/init.lua +++ b/lua/nvim-lsp-installer/servers/texlab/init.lua @@ -18,7 +18,7 @@ return function(name, root_dir) root_dir = root_dir, installer = { std.ensure_executables { - { "pdflatex" , "A TeX distribution is not installed. Refer to https://www.latex-project.org/get/." }, + { "pdflatex", "A TeX distribution is not installed. Refer to https://www.latex-project.org/get/." }, }, std.untargz_remote(("https://github.com/latex-lsp/texlab/releases/download/%s/%s"):format(VERSION, target)), }, |
