Skip to content

oka-h/load-indent.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Load-indent.vim

This plugin reads a file and sets shiftwidth and tabstop to indent width used in the file.

If hard tabs, not soft tabs is used, noexpandtab is set.

This is released under the MIT License, see LICENSE .

Additional Configuration Example

You can define candidates for indent width.

The default value is [2, 3, 4, 8].

let g:loadindent#indent_candidates = [2, 4]

You can define the max number of lines that this plugin read to determine indent width.

The default value is 300.

let g:loadindent#max_read_lines = 1000

About

This plugin makes settings for indentation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors