mirror of
https://github.com/ethersync/ethersync.git
synced 2025-08-02 04:07:29 +03:00
nvim: Rename directory 'vim-plugin' to 'nvim-plugin'
This commit is contained in:
4
.github/workflows/deploy-vim-plugin.yml
vendored
4
.github/workflows/deploy-vim-plugin.yml
vendored
@@ -9,7 +9,7 @@ on:
|
||||
branches:
|
||||
- 'main'
|
||||
paths:
|
||||
- 'vim-plugin/**'
|
||||
- 'nvim-plugin/**'
|
||||
- '.github/workflows/deploy-vim-plugin.yml'
|
||||
|
||||
jobs:
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
env:
|
||||
REPO: git@github.com:ethersync/ethersync-vim
|
||||
BRANCH: main
|
||||
FOLDER: vim-plugin
|
||||
FOLDER: nvim-plugin
|
||||
SSH_PRIVATE_KEY: ${{ secrets.VIM_PLUGIN_DEPLOY_PRIVATE_KEY }}
|
||||
SKIP_EMPTY_COMMITS: true
|
||||
MESSAGE: "Automatic mirror of commit {sha} in main Ethersync repository"
|
||||
|
||||
6
.github/workflows/general.yml
vendored
6
.github/workflows/general.yml
vendored
@@ -10,12 +10,12 @@ on:
|
||||
- 'main'
|
||||
paths:
|
||||
- 'daemon/**'
|
||||
- 'vim-plugin/**'
|
||||
- 'nvim-plugin/**'
|
||||
- '.github/workflows/general.yml'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'daemon/**'
|
||||
- 'vim-plugin/**'
|
||||
- 'nvim-plugin/**'
|
||||
- '.github/workflows/general.yml'
|
||||
|
||||
env:
|
||||
@@ -59,7 +59,7 @@ jobs:
|
||||
- name: Install Neovim plugin
|
||||
run: |
|
||||
mkdir -p $HOME/.local/share/nvim/site/pack/plugins/start
|
||||
ln -s $PWD/../vim-plugin $HOME/.local/share/nvim/site/pack/plugins/start/ethersync
|
||||
ln -s $PWD/../nvim-plugin $HOME/.local/share/nvim/site/pack/plugins/start/ethersync
|
||||
- name: Compile unit tests
|
||||
run: cargo test --no-default-features --no-run --locked
|
||||
- name: Run unit tests
|
||||
|
||||
4
.github/workflows/nix.yml
vendored
4
.github/workflows/nix.yml
vendored
@@ -12,14 +12,14 @@ on:
|
||||
- 'flake.*'
|
||||
- 'contrib/nix/**'
|
||||
- 'daemon/**'
|
||||
- 'vim-plugin/**'
|
||||
- 'nvim-plugin/**'
|
||||
- '.github/workflows/nix.yml'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'flake.*'
|
||||
- 'contrib/nix/**'
|
||||
- 'daemon/**'
|
||||
- 'vim-plugin/**'
|
||||
- 'nvim-plugin/**'
|
||||
- '.github/workflows/nix.yml'
|
||||
|
||||
jobs:
|
||||
|
||||
8
.github/workflows/vim-plugin.yml
vendored
8
.github/workflows/vim-plugin.yml
vendored
@@ -9,11 +9,11 @@ on:
|
||||
branches:
|
||||
- 'main'
|
||||
paths:
|
||||
- 'vim-plugin/**'
|
||||
- 'nvim-plugin/**'
|
||||
- '.github/workflows/vim-plugin.yml'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'vim-plugin/**'
|
||||
- 'nvim-plugin/**'
|
||||
- '.github/workflows/vim-plugin.yml'
|
||||
|
||||
jobs:
|
||||
@@ -26,8 +26,8 @@ jobs:
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
version: 0.20.0
|
||||
args: --config-path vim-plugin/.stylua.toml --check vim-plugin
|
||||
args: --config-path nvim-plugin/.stylua.toml --check nvim-plugin
|
||||
- name: Luacheck Linting
|
||||
uses: lunarmodules/luacheck@v1
|
||||
with:
|
||||
args: --config vim-plugin/.luacheckrc vim-plugin
|
||||
args: --config nvim-plugin/.luacheckrc nvim-plugin
|
||||
|
||||
@@ -23,7 +23,7 @@ repos:
|
||||
rev: v2.1.0
|
||||
hooks:
|
||||
- id: stylua
|
||||
args: ['--config-path', 'vim-plugin/.stylua.toml', '--check', 'vim-plugin']
|
||||
args: ['--config-path', 'nvim-plugin/.stylua.toml', '--check', 'nvim-plugin']
|
||||
- repo: https://github.com/fsfe/reuse-tool
|
||||
rev: v5.0.2
|
||||
hooks:
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
{vimUtils, ...}:
|
||||
vimUtils.buildVimPlugin {
|
||||
name = "ethersync";
|
||||
src = ../../vim-plugin;
|
||||
src = ../../nvim-plugin;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user