Skip to content

Commit

Permalink
Add option to set include path for lsp
Browse files Browse the repository at this point in the history
  • Loading branch information
themkat committed Oct 9, 2024
1 parent d1b09ab commit 7a00248
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lsp-m68k.el
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
:group 'm68k
:type 'vector)

(defcustom m68k-include-paths []
"Include paths to include in your session. Equivalent to INCDIR in the source code."
:type '(repeat string)
:group 'm68k)

(defcustom m68k-format-case "lower"
"What casing to use for instructions and registers when formatting."
:type '(choice (const "lower")
Expand All @@ -31,7 +36,8 @@

(lsp-register-custom-settings
'(("m68k.format.case" m68k-format-case)
("m68k.processors" m68k-processor-types)))
("m68k.processors" m68k-processor-types)
("m68.includePaths" m68-include-paths)))

(lsp-dependency
'm68k-lsp-server
Expand Down

0 comments on commit 7a00248

Please sign in to comment.