[Geany] Geany - Different settings for different filetypes

maix mailmaix at xxxxx
Fri May 4 22:47:42 UTC 2007


Hi,

it is possible to set different settings for the filetypes, but it seems not to work with the tab
settings.

I want to do the following:
Normal files: Tab is 2, tabs shall not be replaced with spaces
python files: Tab is 4, tabs shall be replaced with spaces
I therefore put this into ~/geany/geany.conf:
  pref_editor_trail_space=true
  pref_editor_tab_width=2
and this in /usr/local/share/geany/filetypes.python:
  pref_editor_tab_width=4
  pref_editor_replace_tabs=true
but it didn't work, python files are saved with tabs, not spaces, and tab is 2.

in hope someone can help me, maix



More information about the Users mailing list