Skip to content

Commit

Permalink
Fix around the sublime lsp settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Matsuuu committed Nov 14, 2023
1 parent 5db17f8 commit 0051685
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
{
// General settings
"show_diagnostics_panel_on_save": 0,

// Language server configurations
"clients": {
"custom-elements-language-server": {
// enable this configuration
"enabled": true,
// the startup command -- what you would type in a terminal
"command": ["${node_bin}", "${server_path}", "--stdio"],
// the selector that selects which type of buffers this language server attaches to
"selector": "source.js, source.jsx, source.ts, source.tsx"
}
}
}
Expand Down
1 change: 1 addition & 0 deletions lib/client/sublime/LSP-custom-elements/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ class LspCustomElementsPlugin(NpmClientHandler):
server_directory = 'server'
# TODO: Check if this path works ?
server_binary_path = os.path.join(server_directory, 'node_modules', 'custom-elements-languageserver', 'bin', 'custom-elements-languageserver.js')
print("Path " + server_binary_path)

1 change: 1 addition & 0 deletions usage-testing-project/src/foo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { html } from "lit-html";
import "@shoelace-style/shoelace/dist/components/input/input.js";

export const temp = html`
<example-project my-attribute="f"
project-name="foo"
.projectName=""
Expand Down

0 comments on commit 0051685

Please sign in to comment.