mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 23:15:26 +02:00
fix: Overall improvements
This commit is contained in:
parent
634aff5993
commit
33dfe0acaa
@ -35,6 +35,15 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Check vs code package.json version matches flake version
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
if ! [ $(grep '"version": "' vs-code-extension/package.json | cut -d'"' -f 4) = $(grep '# CI:CD-VERSION$' flake.nix | cut -d'"' -f 2) ];
|
||||||
|
then
|
||||||
|
echo "Version mismatch between vs code package.json and flake"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- uses: cachix/install-nix-action@v27
|
- uses: cachix/install-nix-action@v27
|
||||||
with:
|
with:
|
||||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
@ -8,7 +8,7 @@ A language server for configuration files. The goal is to make editing config fi
|
|||||||
|-------------|-------------|--------------|---------|---------------|--------------|----------|------------------|
|
|-------------|-------------|--------------|---------|---------------|--------------|----------|------------------|
|
||||||
| aliases | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
| aliases | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
||||||
| fstab | ✅ | ✅ | ✅ | ❓ | ❓ | ❓ | 🟡 |
|
| fstab | ✅ | ✅ | ✅ | ❓ | ❓ | ❓ | 🟡 |
|
||||||
| hosts | ✅ | ✅ | ✅ | ✅ | ❓ | ❓ | 🟡 |
|
| hosts | ✅ | ✅ | ✅ | ✅ | ❓ | ❓ | ✅ |
|
||||||
| ssh_config | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
| ssh_config | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
||||||
| sshd_config | ✅ | ✅ | ✅ | ❓ | ✅ | ❓ | ✅ |
|
| sshd_config | ✅ | ✅ | ✅ | ❓ | ✅ | ❓ | ✅ |
|
||||||
| wireguard | ✅ | ✅ | ✅ | ✅ | ❓ | ❓ | 🟡 |
|
| wireguard | ✅ | ✅ | ✅ | ✅ | ❓ | ❓ | 🟡 |
|
||||||
|
@ -42,7 +42,8 @@
|
|||||||
pname = "github.com/Myzel394/config-lsp";
|
pname = "github.com/Myzel394/config-lsp";
|
||||||
version = version;
|
version = version;
|
||||||
src = ./server;
|
src = ./server;
|
||||||
vendorHash = "sha256-s+sjOVvqU20+mbEFKg+RCD+dhScqSatk9eseX2IioPI";
|
vendorHash = "sha256-eO1eY+2XuOCd/dKwgFtu05+bnn/Cv8ZbUIwRjCwJF+U=";
|
||||||
|
ldflags = [ "-s" "-w" ];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
go test -v $(pwd)/...
|
go test -v $(pwd)/...
|
||||||
'';
|
'';
|
||||||
|
@ -12,3 +12,6 @@ client/node_modules/**
|
|||||||
!client/node_modules/vscode-languageserver-protocol/**
|
!client/node_modules/vscode-languageserver-protocol/**
|
||||||
!client/node_modules/vscode-languageserver-types/**
|
!client/node_modules/vscode-languageserver-types/**
|
||||||
!client/node_modules/semver/**
|
!client/node_modules/semver/**
|
||||||
|
|
||||||
|
flake.nix
|
||||||
|
build-extension.sh
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
{
|
{
|
||||||
"name": "config-lsp-vs-code-extension",
|
"name": "config-lsp",
|
||||||
"description": "A language server example using language services to support embedded languages",
|
"description": "Language Features (completions, diagnostics, etc.) for your config files: gitconfig, fstab, aliases, hosts, wireguard, ssh_config, sshd_config, and more to come!",
|
||||||
"author": "Microsoft Corporation",
|
"author": "Myzel394",
|
||||||
"license": "MIT",
|
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Microsoft/vscode-extension-samples"
|
"url": "https://github.com/Myzel394/config-lsp"
|
||||||
},
|
},
|
||||||
"publisher": "vscode-samples",
|
"publisher": "myzel394",
|
||||||
"categories": [],
|
"categories": [],
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"engines": {
|
"engines": {
|
||||||
@ -34,6 +33,6 @@
|
|||||||
"@typescript-eslint/parser": "^7.14.0",
|
"@typescript-eslint/parser": "^7.14.0",
|
||||||
"eslint": "^9.11.1",
|
"eslint": "^9.11.1",
|
||||||
"typescript": "^5.5.2",
|
"typescript": "^5.5.2",
|
||||||
"@types/vscode": "^1.93.0"
|
"@types/vscode": "^1.74.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1 +0,0 @@
|
|||||||
{"root":["./src/extension.ts"],"version":"5.6.2"}
|
|
Loading…
x
Reference in New Issue
Block a user