Skip to content

Instantly share code, notes, and snippets.

@lensgolda
Last active November 10, 2022 10:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lensgolda/88c217f9cda683803009b4affe39d716 to your computer and use it in GitHub Desktop.
Save lensgolda/88c217f9cda683803009b4affe39d716 to your computer and use it in GitHub Desktop.
LSP.sublime-settings for Clojure & Go
// Settings in here override those in "LSP/LSP.sublime-settings"
{
"clients": {
"clojure-lsp": {
"enabled": true,
"command": ["/usr/local/bin/clojure-lsp"],
"selector": "source.clojure",
"initializationOptions": {},
"languageId": "clojure",
"scopes": ["source.clojure"],
"syntaxes": ["Packages/Clojure/Clojure.sublime-syntax"],
},
"gopls": {
"enabled": false,
"env": {
"PATH": "/Users/lens/dev/go/bin",
},
"selector": "source.go",
},
},
// Run the server's formatProvider (if supported) on a file before saving.
// This option is also supported in syntax-specific settings and/or in the
// "settings" section of project files.
"lsp_format_on_save": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment