https://bugs.kde.org/show_bug.cgi?id=453541
Bug ID: 453541
Summary: .kateconfig kate-wildcard(...) does not allow path
separators
Product: frameworks-ktexteditor
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
I am trying to configure Kate to follow the indentation style of a git
repository which does not use my usual indentation style.
So I put a .kateconfig file in the parent directory, which uses the
kate-wildcard(subdir/*) rule.
This does not work.
My current workaround is to use .git/info/exclude to allow .kateconfig in the
git repository itself.
STEPS TO REPRODUCE
1. Add this to a .kateconfig file, assuming replace-tabs is on by default:
> kate-wildcard(subdir/*): replace-tabs off;
2. Open a file from the current directory.
3. Open a file from the subdir directory.
OBSERVED RESULT
Both files use replace-tabs on.
(In Kate status bar displayed as soft tabs.)
EXPECTED RESULT
The file in subdir directory uses replace-tabs off.
(In Kate status bar displayed as Indent/Tab)
SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.24
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
--
You are receiving this mail because:
You are watching all bug changes.