Skip to content

Commit 1a638a1

Browse files
committed
fix: infer tabSize sent in the LSP formattingOptions (#422)
1 parent acea148 commit 1a638a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

copilot.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ automatically, browse to %s." user-code verification-uri))
710710
(save-restriction
711711
(widen)
712712
(list :version copilot--doc-version
713-
:tabSize tab-width
713+
:tabSize (copilot--infer-indentation-offset)
714714
:indentSize (copilot--infer-indentation-offset)
715715
:insertSpaces (if indent-tabs-mode :json-false t)
716716
:path (buffer-file-name)

0 commit comments

Comments
 (0)