mirror of
https://github.com/Strum355/mcshader-lsp.git
synced 2025-07-23 11:15:27 +00:00
Doing more on the extension side and splitting up the lang server linting more
This commit is contained in:
parent
d7d41985ef
commit
cacfbe7a4e
6 changed files with 120 additions and 40 deletions
|
@ -34,7 +34,7 @@ documents.onDidSave((event) => onEvent(event.document))
|
|||
|
||||
function onEvent(document: TextDocument) {
|
||||
if (!ext.has(extname(document.uri))) return
|
||||
preprocess(document.getText().split('\n'), formatURI(document.uri), true, [document.uri.replace(/^file:\/\//, '')], 0)
|
||||
preprocess(document.getText().split('\n'), formatURI(document.uri))
|
||||
}
|
||||
|
||||
connection.onDidChangeConfiguration((change) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue