Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ValeLS/ValeLS.lua
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
return {
Id = "vale",
Name = "Vale Language Server",
Version = "1.0.3",
CompatVersion = "1.0.3",
Version = "1.0.4",
CompatVersion = "1.0.4",
VendorId = "theqtcompany",
Vendor = "The Qt Company",
Copyright = "(C) The Qt Company 2024",
Expand Down
4 changes: 2 additions & 2 deletions ValeLS/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,11 @@ local function setupClient()
transport = 'stdio',
showInSettings = false,
languageFilter = {
patterns = { '*' },
mimeTypes = { 'text/plain' },

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that "inheriting" / does it allow other types based on text/plain?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, resolution checks all parent MIME types.

},
initializationOptions = createInitOptions,
settings = Settings,
startBehavior = "RequiresProject",
startBehavior = "RequiresFile",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RequiresProject is necessary if the config file is located in the project.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Understood, so let's postpone this change until we have RequiresProjectOrFile or some other workaround in place.

onStartFailed = function()
a.sync(function()
if IsTryingToInstall == true then
Expand Down