-
-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f08590b
commit d15d4eb
Showing
3 changed files
with
123 additions
and
56 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,56 @@ | ||
--- | ||
name: Neovim | ||
on: | ||
pull_request: ~ | ||
push: | ||
paths-ignore: | ||
- "*.md" | ||
branches: | ||
- main | ||
|
||
jobs: | ||
ubuntu: | ||
name: Ubuntu | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Neovim | ||
shell: bash | ||
run: | | ||
wget -q https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.deb -O /tmp/nvim.deb | ||
sudo dpkg -i /tmp/nvim.deb | ||
- name: Run neovim | ||
run: | | ||
nvim --version | ||
nvim --headless -u tests/init.lua +q | ||
macos: | ||
name: Macos | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Neovim | ||
run: | | ||
wget -q https://github.com/neovim/neovim/releases/download/nightly/nvim-macos.tar.gz | ||
xattr -c ./nvim-macos.tar.gz | ||
tar xzvf nvim-macos.tar.gz &> /dev/null | ||
ln -s $(pwd)/nvim-macos/bin/nvim /usr/local/bin/nvim | ||
- name: Run neovim | ||
run: | | ||
nvim --version | ||
nvim --headless -u tests/init.lua +q | ||
windows: | ||
name: Windows | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Neovim | ||
run: | | ||
C:\msys64\usr\bin\wget.exe -q https://github.com/neovim/neovim/releases/download/nightly/nvim-win64.zip | ||
7z x nvim-win64.zip | ||
Add-Content $env:GITHUB_PATH ".\nvim-win64\bin\" | ||
- name: Run neovim | ||
run: | | ||
nvim --version | ||
nvim --headless -u tests/init.lua +q | ||
# --- | ||
# name: Neovim | ||
# on: | ||
# pull_request: ~ | ||
# push: | ||
# paths-ignore: | ||
# - "*.md" | ||
# branches: | ||
# - main | ||
# | ||
# jobs: | ||
# ubuntu: | ||
# name: Ubuntu | ||
# runs-on: ubuntu-latest | ||
# | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# - name: Install Neovim | ||
# shell: bash | ||
# run: | | ||
# wget -q https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.deb -O /tmp/nvim.deb | ||
# sudo dpkg -i /tmp/nvim.deb | ||
# - name: Run neovim | ||
# run: | | ||
# nvim --version | ||
# nvim --headless -u tests/init.lua +q | ||
# macos: | ||
# name: Macos | ||
# runs-on: macos-latest | ||
# | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# - name: Install Neovim | ||
# run: | | ||
# wget -q https://github.com/neovim/neovim/releases/download/nightly/nvim-macos.tar.gz | ||
# xattr -c ./nvim-macos.tar.gz | ||
# tar xzvf nvim-macos.tar.gz &> /dev/null | ||
# ln -s $(pwd)/nvim-macos/bin/nvim /usr/local/bin/nvim | ||
# - name: Run neovim | ||
# run: | | ||
# nvim --version | ||
# nvim --headless -u tests/init.lua +q | ||
# windows: | ||
# name: Windows | ||
# runs-on: windows-latest | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# - name: Install Neovim | ||
# run: | | ||
# C:\msys64\usr\bin\wget.exe -q https://github.com/neovim/neovim/releases/download/nightly/nvim-win64.zip | ||
# 7z x nvim-win64.zip | ||
# Add-Content $env:GITHUB_PATH ".\nvim-win64\bin\" | ||
# - name: Run neovim | ||
# run: | | ||
# nvim --version | ||
# nvim --headless -u tests/init.lua +q |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
name: Vim | ||
on: | ||
pull_request: ~ | ||
push: | ||
paths-ignore: | ||
- "*.md" | ||
branches: | ||
- main | ||
|
||
jobs: | ||
ubuntu: | ||
name: Ubuntu | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Vim | ||
shell: bash | ||
run: | | ||
sudo apt-get install vim-gtk lua5.4 | ||
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | ||
- name: Run vim | ||
run: | | ||
vim --version | ||
vim -u tests/init.vim | ||
macos: | ||
name: Macos | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Vim | ||
run: | | ||
brew install vim | ||
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | ||
- name: Run vim | ||
run: | | ||
vim --version | ||
vim -u tests/init.vim | ||
windows: | ||
name: Windows | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Vim | ||
run: | | ||
choco install vim lua54 | ||
iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |` | ||
ni $HOME/vimfiles/autoload/plug.vim -Force | ||
- name: Run vim | ||
run: | | ||
vim --version | ||
vim -u tests/init.vim |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
try | ||
call plug#begin() | ||
Plug expand('<sfile>')[0:-16] | ||
call plug#end() | ||
|
||
lua require("catppuccin").setup {} | ||
colorscheme catppuccin | ||
catch | ||
echo v:exception | ||
1cq | ||
finally | ||
0cq | ||
endtry |