Previously only files that were less than 4KB in size could use the
format-on-type feature. This commit updates the Language Server to honor a
new configuration setting puppet.editorService.formatOnType.maxFileSize which
will determine the maximum file size. A size of 0 will disable the size check.
The default is 4096 as per the previous behaviour.
No specific tests have been added and has been manually tested.
Fixes #289
Previously only files that were less than 4KB in size could use the format-on-type feature. This commit updates the Language Server to honor a new configuration setting puppet.editorService.formatOnType.maxFileSize which will determine the maximum file size. A size of 0 will disable the size check. The default is 4096 as per the previous behaviour.
No specific tests have been added and has been manually tested.