This commit is contained in:
15
node_modules/yaml-language-server/lib/umd/languageservice/utils/indentationGuesser.d.ts
generated
vendored
Normal file
15
node_modules/yaml-language-server/lib/umd/languageservice/utils/indentationGuesser.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import { TextBuffer } from './textBuffer';
|
||||
/**
|
||||
* Result for a guessIndentation
|
||||
*/
|
||||
export interface IGuessedIndentation {
|
||||
/**
|
||||
* If indentation is based on spaces (`insertSpaces` = true), then what is the number of spaces that make an indent?
|
||||
*/
|
||||
tabSize: number;
|
||||
/**
|
||||
* Is indentation based on spaces?
|
||||
*/
|
||||
insertSpaces: boolean;
|
||||
}
|
||||
export declare function guessIndentation(source: TextBuffer, defaultTabSize: number, defaultInsertSpaces: boolean): IGuessedIndentation;
|
||||
Reference in New Issue
Block a user