File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,12 @@ This is only for development use."
4545 :type 'string
4646 :group 'lsp-shader )
4747
48+ (defcustom lsp-shader-active-modes
49+ '(shader-mode hlsl-mode glsl-mode)
50+ " List of major mode that work with shader-ls."
51+ :type 'list
52+ :group 'lsp-shader )
53+
4854(defcustom lsp-shader-completion-word t
4955 " Non-nil to enable word completion."
5056 :type 'string
@@ -80,8 +86,8 @@ Will update if UPDATE? is t"
8086 #'lsp-shader--cls-test-shader-ls-present )
8187 :priority -1
8288 :server-id 'shader-ls
83- :activation-fn ( lsp-activate-on " shaderlab " )
84- :major-modes '(shader-mode)
89+ :major-modes lsp-shader-active-modes
90+ :add-on? t
8591 :download-server-fn #'lsp-shader--cls-download-server ))
8692
8793(provide 'lsp-shader )
You can’t perform that action at this time.
0 commit comments