-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update server to 2023-12-09 and support references code lenses (#21)
- Loading branch information
Showing
8 changed files
with
169 additions
and
3 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,2 +1,3 @@ | ||
pyrightconfig.json export-ignore | ||
screenshots export-ignore | ||
pyproject.toml export-ignore | ||
tox.ini export-ignore |
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,10 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: pip | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
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,20 @@ | ||
name: main | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
Lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
- run: pip3 install tox --user | ||
- run: tox |
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
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
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,11 @@ | ||
[tool.ruff] | ||
select = ["E", "F", "W"] | ||
line-length = 120 | ||
target-version = 'py38' | ||
|
||
[[tool.mypy.overrides]] | ||
module = [ | ||
"LSP.*", | ||
"sublime" | ||
] | ||
ignore_missing_imports = true |
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,67 @@ | ||
{ | ||
"contributions": { | ||
"settings": [ | ||
{ | ||
"file_patterns": [ | ||
"/LSP-marksman.sublime-settings" | ||
], | ||
"schema": { | ||
"$id": "sublime://settings/LSP-marksman", | ||
"definitions": { | ||
"PluginConfig": { | ||
"properties": { | ||
"initializationOptions": { | ||
"additionalProperties": false, | ||
"properties": { | ||
"preferredTextSyncKind": { | ||
"enum": [ | ||
1, | ||
2, | ||
null | ||
], | ||
"markdownEnumDescriptions": [ | ||
"full sync", | ||
"incremental sync", | ||
"default value (full sync)" | ||
], | ||
"default": null, | ||
"description": "How text is synced between this client and the server." | ||
}, | ||
}, | ||
}, | ||
} | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "sublime://settings/LSP-plugin-base" | ||
}, | ||
{ | ||
"$ref": "sublime://settings/LSP-marksman#/definitions/PluginConfig" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"file_patterns": [ | ||
"/*.sublime-project" | ||
], | ||
"schema": { | ||
"properties": { | ||
"settings": { | ||
"properties": { | ||
"LSP": { | ||
"properties": { | ||
"LSP-marksman": { | ||
"$ref": "sublime://settings/LSP-marksman#/definitions/PluginConfig" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
] | ||
} | ||
} |
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,22 @@ | ||
# Tox (http://tox.testrun.org/) is a tool for running tests | ||
# in multiple virtualenvs. This configuration file will run the | ||
# test suite on all supported python versions. To use it, "pip install tox" | ||
# and then run "tox" from this directory. | ||
|
||
[tox] | ||
envlist = py3 | ||
skipsdist = True | ||
|
||
[pycodestyle] | ||
max-line-length = 120 | ||
|
||
[flake8] | ||
max-line-length = 120 | ||
|
||
[testenv] | ||
deps = | ||
mypy==1.7.1 | ||
ruff==0.1.7 | ||
commands = | ||
mypy plugin.py | ||
ruff plugin.py |