Sublime Forum

Settings and line endings

#1

Hi - I had two semi-related questions:

Is there a way to enumerate the keys in a settings object?

Is there a way to query the current line endings value for a buffer? (e.g. something to go with the set_line_ending command)

(The gist is that I’m looking into writing a “show line endings on status bar” plugin).

Thanks,
John

0 Likes

#2

The answer is currently no to both of these, unfortunately

0 Likes

#3

Just saw this added in 2144 - thanks! Got my plugin done :wink: https://github.com/johnburnett/sublime-footools/blob/master/file_info_status_bar.py

Love the new status indicator updates too!

0 Likes