[sysadmin/kde-ansible] /: Delete ".kateconfig"
Dominik Haumann
dhaumann at kde.org
Sat Dec 30 19:29:14 UTC 2017
Yes, it is a unknown feature. We lack documentation, but I plan to address
this soon.
As said, the blog is updated now and describes how the feature *should*
work :)
Maybe I will add a unit test for this.
Greetings
Dominik
Am 30.12.2017 18:11 schrieb "Nicolás Alvarez" <nicolas.alvarez at gmail.com>:
> Last I checked, the handbook didn't even mention kateconfig.
>
> --
> Nicolás
>
> El 30 dic. 2017, a la(s) 13:24, Dominik Haumann <dhaumann at kde.org>
> escribió:
> >
> > And hi again to kwrite-devel:
> >
> > The below information is missing in our kate handbook. Any takers?
> >
> > Greetings
> > Dominik
> >
> >
> >> On Sat, Dec 30, 2017 at 5:23 PM, Dominik Haumann <dhaumann at kde.org>
> wrote:
> >> Hi Nicolás¸
> >>
> >> I found https://kate-editor.org/2006/02/09/kateconfig-files/ and
> >> extended this blog post to reflect the current state (since 2006!!!):
> >>
> >> Simply use:
> >> kate: indent-width 4;
> >> kate-wilcard(*.yml): indent-width 2;
> >>
> >> Make sure, that kate-wildcard is below the general rule kate: ... so
> >> that the general modelines are overwritten.
> >>
> >> Greetings
> >> Dominik
> >>
> >>> On Sat, Dec 30, 2017 at 10:57 AM, Dominik Haumann <dhaumann at kde.org>
> wrote:
> >>> It is possible to specify different settings for different file
> extensions
> >>> and mimetypes in a .kateconfig file.
> >>>
> >>> @kwrite-devel: how was the syntax again?
> >>>
> >>> Greetings
> >>> Dominik
> >>>
> >>>
> >>> Am 30.12.2017 06:34 schrieb "Nicolás Alvarez" <null at kde.org>:
> >>>
> >>> Git commit 0a0b4240796e93bef98662860c17e43a9a54f728 by Nicolás
> Alvarez.
> >>> Committed on 30/12/2017 at 05:33.
> >>> Pushed by nalvarez into branch 'master'.
> >>>
> >>> Delete ".kateconfig"
> >>>
> >>> It causes me more trouble than it solves, because it applies to all
> files.
> >>> I want .yml files to have 2-space indents but Python should stay with
> >>> 4 spaces, and this can't be done in a .kateconfig file.
> >>>
> >>> D +0 -1 .kateconfig
> >>>
> >>> https://commits.kde.org/sysadmin/kde-ansible/
> 0a0b4240796e93bef98662860c17e43a9a54f728
> >>>
> >>> diff --git a/.kateconfig b/.kateconfig
> >>> deleted file mode 100644
> >>> index e9531dd..0000000
> >>> --- a/.kateconfig
> >>> +++ /dev/null
> >>> @@ -1 +0,0 @@
> >>> -kate: tab-width 2; indent-width 2; replace-tabs on;
> >>>
> >>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20171230/c78c54a7/attachment.html>
More information about the KWrite-Devel
mailing list