refactor: share language IDs with indentation configuration
This commit is contained in:
+1
-1
@@ -262,7 +262,7 @@ module Vamp
|
||||
@tab_spaces = tab_spaces!(spaces)
|
||||
end
|
||||
|
||||
# @param languages [Hash{String => Integer, nil}] syntax language names to Tab widths
|
||||
# @param languages [Hash{String => Integer, nil}] LSP-style language IDs to Tab widths
|
||||
# @return [Hash{String => Integer, nil}]
|
||||
def language_tab_spaces=(languages)
|
||||
raise TypeError, "language_tab_spaces must be a Hash" unless languages.is_a?(Hash)
|
||||
|
||||
Reference in New Issue
Block a user