[sdk/kdesrc-build] /: Update docs to reflect new config file location changes
Ignacy Kajdan
null at kde.org
Sat Jan 22 23:38:41 GMT 2022
Git commit df9212e41d0a759075e4ec36d02803967be9ce6f by Ignacy Kajdan.
Committed on 20/12/2021 at 10:17.
Pushed by mpyne into branch 'master'.
Update docs to reflect new config file location changes
M +5 -5 README.md
M +42 -29 doc/index.docbook
M +10 -7 doc/man-kdesrc-build-setup.1.docbook
M +20 -13 doc/man-kdesrc-build.1.docbook
M +9 -3 doc/source-reference/index.adoc
M +21 -21 org.kde.kdesrc-build.metainfo.xml
M +1 -1 vim/ftdetect/kdesrc-buildrc.vim
https://invent.kde.org/sdk/kdesrc-build/commit/df9212e41d0a759075e4ec36d02803967be9ce6f
diff --git a/README.md b/README.md
index 4f79fc7..1a0b066 100644
--- a/README.md
+++ b/README.md
@@ -63,7 +63,7 @@ Later we will set up kdesrc-build to keep itself updated automatically.
- Now that kdesrc-build is installed and works, you need to set up kdesrc-build
to work appropriately on your particular system. Do this by running the
provided set up script to generate the **configuration file**
- (~/.kdesrc-buildrc):
+ (~/.config/kdesrc-buildrc):
```shell
$ cd ~/kde/src/kdesrc-build
@@ -151,7 +151,7 @@ One thing to keep in mind when using kdesrc-build to manage keeping itself
up to date is that updates won't take effect until the *next* time you run
kdesrc-build.
-You may want to edit your ~/.kdesrc-buildrc to make sure any new
+You may want to edit the kdesrc-buildrc configuration file to make sure any new
options are included. You should always read the changes for the new version
however, as sometimes there are slight changes in behavior necessary to adapt
to updates in the source repository. If you are running kdesrc-build from its
@@ -164,8 +164,8 @@ successfully upgraded kdesrc-build.
## SAMPLE CONFIGURATION
A sample configuration file is included for demonstration purposes. You could
-copy it to your `~/.kdesrc-buildrc` and edit, but you should use the provided
-`kdesrc-build-setup` script instead.
+copy it to `~/.config/kdesrc-buildrc` and edit manually. However,
+it is advised to use provided `kdesrc-build-setup` script instead.
## HELP!!!
@@ -207,7 +207,7 @@ For each build, kdesrc-build does several things:
- Finds the configuration file (based on the --rc-file option or by looking for
`kdesrc-buildrc` in the current directory and falling back to
- `~/.kdesrc-buildrc`)
+ `~/.config/kdesrc-buildrc`)
- Reads the configuration file to generate:
- Default options to apply for each module
- A list of modules to build. Modules can be grouped in "module-sets", but
diff --git a/doc/index.docbook b/doc/index.docbook
index 781e91c..5c223cd 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -397,15 +397,17 @@ without having to fully specify its path every time.</para></tip>
<sect3 id="setup-rcfile">
<title>Prepare the configuration file</title>
-<para>&kdesrc-build; uses a <link linkend="configure-data">configuration
-file</link> (located at <filename>~/.kdesrc-buildrc</filename>) to control
-which modules are built, where they are installed to, etc.</para>
+<para>&kdesrc-build; uses a <link linkend="configure-data">configuration file</link>
+to control which modules are built, where they are installed to, etc.
+This file is located at <filename>~/.config/kdesrc-buildrc</filename>
+(<filename>$XDG_CONFIG_HOME/kdesrc-buildrc</filename>, if
+<envar>$XDG_CONFIG_HOME</envar> is set).</para>
<para>You can use a program included with &kdesrc-build;, called
<application>kdesrc-build-setup</application> in order to prepare a simple
kdesrc-build configuration. You can then edit the
-<filename>~/.kdesrc-buildrc</filename> from there to make any changes you see
-fit.</para>
+<filename>~/.config/kdesrc-buildrc</filename> configuration file to make
+any changes you see fit.</para>
<para><application>kdesrc-build-setup</application> itself runs from a terminal
(instead of using a graphical interface), just like &kdesrc-build;, so you can
@@ -415,17 +417,19 @@ use it even if you have no graphical interface available yet.</para>
<title>Manual setup of configuration file</title>
<para>You can also setup your configuration file manually, by copying the
-included sample configuration file
-<filename>kdesrc-buildrc-kf5-sample</filename> to
-<filename>~/.kdesrc-buildrc</filename> and then editing the file. <xref
-linkend="kdesrc-buildrc"/> will be a useful reference for this, especially its
-<link linkend="conf-options-table">table of configuration options</link>.
+included sample configuration file <filename>kdesrc-buildrc-kf5-sample</filename>
+to <filename>~/.config/kdesrc-buildrc</filename> and then editing the file.
+<xref linkend="kdesrc-buildrc"/> will be a useful reference for this, especially
+its <link linkend="conf-options-table">table of configuration options</link>.
</para>
<para>&kdesrc-build; contains many recommended configuration files to support
-&kde; Frameworks 5, &plasma; 5, and other &kde; applications. The <application>kdesrc-build-setup</application> refers to these files in the configuration file it generates, but you can also use them
-yourself. See <xref linkend="kdesrc-buildrc-including"/> for information on how
-to use other configuration files from your own <filename>~/.kdesrc-buildrc</filename>.</para>
+&kde; Frameworks 5, &plasma; 5, and other &kde; applications. The
+<application>kdesrc-build-setup</application> refers to these files in the
+configuration file it generates, but you can also use them yourself. See
+<xref linkend="kdesrc-buildrc-including"/> for information on how to use other
+configuration files from your own <filename>kdesrc-buildrc</filename>.
+</para>
<para>You can find more information about the syntax of the <link
linkend="configure-data">configuration file</link> in <xref
@@ -440,15 +444,18 @@ linkend="configure-data" /> and in <xref linkend="kdesrc-buildrc" />.
<title>Setting the Configuration Data</title>
<para>
-To use &kdesrc-build;, you should have a file in your home directory called
-<filename>.kdesrc-buildrc</filename>, which sets the general options and sets the modules
-you would like to download and build.
+To use &kdesrc-build;, you should have a file in your <filename>~/.config</filename>
+(or in <envar>$XDG_CONFIG_HOME</envar>, if set) directory called
+<filename>kdesrc-buildrc</filename>, which sets the general options and
+specifies the modules you would like to download and build.
</para>
-<note><para>It is possible to use different configuration files for &kdesrc-build;,
-which is described in <xref linkend="kdesrc-buildrc" />. If you need to use
-multiple configurations, please see that section. Here, we will assume the
-configuration is stored in <filename>~/.kdesrc-buildrc</filename>.</para></note>
+<note><para>
+It is possible to use different configuration files for &kdesrc-build;, which is
+described in <xref linkend="kdesrc-buildrc" />. If you need to use multiple
+configurations, please see that section. Here, we will assume that the
+configuration is stored in <filename>~/.config/kdesrc-buildrc</filename>.
+</para></note>
<para>
The easiest way to proceed is to use the
@@ -2784,12 +2791,16 @@ cannot figure out what you mean using <link linkend="conf-branch">branch</link>.
<row id="conf-persistent-data-file">
<entry>persistent-data-file</entry>
<entry>Cannot be overridden</entry>
-<entry><para>Use this option to change where &kdesrc-build; stores its persistent
-data. The default is to store this data in a file called
-<filename>.kdesrc-build-data</filename> placed in the same directory as the
-configuration file in use. If you have multiple available configurations in the
-same directory you may want to manually set this option so that the different
-configurations do not end up with conflicting persistent data.</para>
+<entry><para>Use this option to change where &kdesrc-build; stores its
+persistent data. The default is to store this data in a file called
+<filename>.kdesrc-build-data</filename>, placed in the same directory as the
+configuration file in use. If the global configuration file is in use, it will
+be saved to <filename>~/.cache/kdesrc-build-data</filename>
+(<filename>$XDG_CONFIG_HOME/kdesrc-build-data</filename>, if
+<envar>$XDG_CONFIG_HOME</envar> is set). If you have multiple available
+configurations in the same directory, you may want to manually set this option,
+so that different configurations do not end up with conflicting persistent data.
+</para>
<para>This option was added with &kdesrc-build; 1.15.</para>
</entry>
@@ -3687,9 +3698,11 @@ This option was added with &kdesrc-build; 1.16. See also the
<listitem><para>
This interprets the next command line parameter as the file to read the
configuration options from. The default value for this parameter is
-<filename>kdesrc-buildrc</filename> (checked in the current directory) if
-it is present, or <filename>~/.kdesrc-buildrc</filename> otherwise. See
-also <xref linkend="kdesrc-buildrc" />.
+<filename>kdesrc-buildrc</filename> (checked in the current working directory).
+If this file doesn't exist, <filename>~/.config/kdesrc-buildrc</filename>
+(<filename>$XDG_CONFIG_HOME/kdesrc-buildrc</filename>, if
+<envar>$XDG_CONFIG_HOME</envar> is set) will be used instead. See also
+<xref linkend="kdesrc-buildrc"/>.
</para></listitem>
</varlistentry>
diff --git a/doc/man-kdesrc-build-setup.1.docbook b/doc/man-kdesrc-build-setup.1.docbook
index ced0ee6..3c6caf3 100644
--- a/doc/man-kdesrc-build-setup.1.docbook
+++ b/doc/man-kdesrc-build-setup.1.docbook
@@ -34,7 +34,7 @@
<refnamediv>
<refname><command>kdesrc-build-setup</command></refname>
- <refpurpose>Creates a <filename>~/.kdesrc-buildrc</filename> configuration
+ <refpurpose>Creates a <filename>kdesrc-buildrc</filename> configuration
file for <command>kdesrc-build</command>(1).</refpurpose>
</refnamediv>
@@ -55,8 +55,9 @@ Perl (just like <command>kdesrc-build</command>).</para>
<para>No command line options are accepted. The operation of the program is
instead driven through dialog-style prompts to gather the data required to
-generate the configuration file. The configuration file can be saved to a
-location other than <filename>~/.kdesrc-buildrc</filename>.</para>
+generate the configuration file. The resultant file can be saved to a location
+other than <filename>~/.config/kdesrc-buildrc</filename>.
+</para>
</refsect1>
@@ -138,10 +139,12 @@ location other than <filename>~/.kdesrc-buildrc</filename>.</para>
<refsect1>
<title>FILES</title>
-<para><filename>~/.kdesrc-buildrc</filename> - Default global configuration
-file, generated by default by this script. If the file already exists, the
-existing file is moved to <filename>~/.kdesrc-buildrc~</filename> as a backup
-before generating the configuration.</para>
+<para><filename>~/.config/kdesrc-buildrc</filename>
+(<filename>$XDG_CONFIG_HOME/kdesrc-buildrc</filename>, if
+<envar>$XDG_CONFIG_HOME</envar> is set) - Default global configuration file,
+generated by this script. If the file already exists, the existing file is
+renamed to <filename>kdesrc-buildrc~</filename> as a backup before generating
+the configuration.</para>
<para>The file generated by this script can be saved to a different name
instead.</para>
diff --git a/doc/man-kdesrc-build.1.docbook b/doc/man-kdesrc-build.1.docbook
index 348fc67..7d105cf 100644
--- a/doc/man-kdesrc-build.1.docbook
+++ b/doc/man-kdesrc-build.1.docbook
@@ -54,8 +54,10 @@
Subversion or Git repositories, interfaces with the &kde; project database, and
supports controlling which options are passed to <command>make</command>(1) and
<command>cmake</command>(1). The operation of <command>kdesrc-build</command>
-is driven by a configuration file, typically
-<filename>~/.kdesrc-buildrc</filename>.</para>
+is driven by a configuration file, typically <filename>~/.config/kdesrc-buildrc</filename>
+(<filename>$XDG_CONFIG_HOME/kdesrc-buildrc</filename>, if <envar>$XDG_CONFIG_HOME</envar>
+is set).
+</para>
<para>The <replaceable>module name</replaceable> or <replaceable>module set
name</replaceable> as given on the command line should be as those names were
@@ -549,9 +551,9 @@ combining short options into one at this point. (E.g. running
<listitem>
<para>
Use the given file, <replaceable>foo</replaceable>, for the configuration
- instead of <filename>~/.kdesrc-buildrc</filename> or
- <filename>./kdesrc-buildrc</filename>. The file can be empty, but must
- exist.
+ instead of <filename>./kdesrc-buildrc</filename> or
+ <filename>~/.config/kdesrc-buildrc</filename>. The file can be empty, but it
+ must exist.
</para>
</listitem>
</varlistentry>
@@ -1158,18 +1160,23 @@ others
<refsect1>
<title>FILES</title>
-<para><filename>~/.kdesrc-buildrc</filename> - Default global configuration
-file.</para>
+<para><filename>~/.config/kdesrc-buildrc</filename>
+(<filename>$XDG_CONFIG_HOME/kdesrc-buildrc</filename>, if
+<envar>$XDG_CONFIG_HOME</envar> is set) - Default global configuration file.
+</para>
-<para><filename>./kdesrc-buildrc</filename> - If this file (note there is no
+<para><filename>kdesrc-buildrc</filename> - If this file (note there is no
leading period (.) this time) is found in the <emphasis role="strong">current
directory</emphasis> when kdesrc-build is run, this file will be used for the
-configuration instead of <filename>~/.kdesrc-buildrc</filename>.</para>
+configuration instead of <filename>~/.config/kdesrc-buildrc</filename>.
+</para>
-<para><filename>~/.kdesrc-build-data</filename> -
-<command>kdesrc-build</command> uses this file to store persistent data (such
-as last CMake options used, last revision successfully installed, etc.). It can
-be safely deleted.</para>
+<para><filename>~/.cache/kdesrc-build-data</filename>
+(<filename>$XDG_CACHE_HOME/kdesrc-buildrc</filename>, if
+<envar>$XDG_CACHE_HOME</envar> is set) - <command>kdesrc-build</command> uses
+this file to store persistent data (such as last CMake options used, last
+revision successfully installed, etc.). It can be safely deleted.
+</para>
</refsect1>
diff --git a/doc/source-reference/index.adoc b/doc/source-reference/index.adoc
index f5f2993..c8cb6d0 100644
--- a/doc/source-reference/index.adoc
+++ b/doc/source-reference/index.adoc
@@ -57,9 +57,15 @@ store:
. The build or configuration options to use by default or on a per-module
basis.
-The configuration file is used from `+kdesrc-buildrc+` in the current directory
-when kdesrc-build is run, if the file is present. If not, the global rc-file at
-`+~/.kdesrc-buildrc+` is used instead.
+When kdesrc-build is run, it will use `+kdesrc-buildrc+` located in the current
+working directory. If this file is not present, the global rc-file at
+`+~/.config/kdesrc-build/kdesrc-buildrc+`
+(`+$XDG_CONFIG_HOME/kdesrc-build/kdesrc-buildrc+`, if `+XDG_CONFIG_HOME+`
+environment variable is set) is used instead.
+
+If neither of above is found, kdesrc-build will fallback to `+~/.kdesrc-buildrc+`.
+This location is checked only for backward compatibility; it is advised to move
+the configuration file to the XDG compliant path instead.
=== Command line
diff --git a/org.kde.kdesrc-build.metainfo.xml b/org.kde.kdesrc-build.metainfo.xml
index 53daff6..6adddf7 100644
--- a/org.kde.kdesrc-build.metainfo.xml
+++ b/org.kde.kdesrc-build.metainfo.xml
@@ -346,28 +346,28 @@
<li xml:lang="uk">Повна документація. Повідомте авторам програми, якщо якась з її частин видасться вам незрозумілою (адресу електронної пошти наведено нижче), або напишіть про вашу проблему до списку листування kde-devel.</li>
<li xml:lang="x-test">xxExtensive documentation. Feel free to let me know if you need something explained (e-mail address at bottom), or contact the kde-devel mailing list.xx</li>
<li xml:lang="zh-CN">丰富的文档。如果您有需要我们解释的内容(电邮在底部),欢迎随时通知我们,或联系 kde-devel 邮件列表。</li>
- <li>A detailed sample configuration file is included, usually you can just copy it to ~/.kdesrc-buildrc and be done with it.</li>
- <li xml:lang="ca">S'inclou un detallat fitxer de configuració d'exemple, normalment podreu copiar-lo a ~/.kdesrc-buildrc i llest.</li>
- <li xml:lang="ca-valencia">S'inclou un detallat fitxer de configuració d'exemple, normalment podreu copiar-lo a ~/.kdesrc-buildrc i llest.</li>
- <li xml:lang="el">Συμπεριλαμβάνεται ένα δείγμα λεπτομερούς αρχείου διαμόρφωσης, συνήθως μπορείτε να το αντιγράψετε στο ~/.kdesrc-buildrc και είστε έτοιμοι.</li>
- <li xml:lang="en-GB">A detailed sample configuration file is included, usually you can just copy it to ~/.kdesrc-buildrc and be done with it.</li>
- <li xml:lang="es">Se incluye un detallado archivo de configuración de ejemplo, que puede copiar en ~/.kdesrc-buildrc para que esté listo para usar.</li>
- <li xml:lang="et">Kaasa on pandud üksikasjalik konfigureerimisfaili näidis, mille võib tavaliselt muretult asukohta ~/.kdesrc-buildrc kopeerida.</li>
- <li xml:lang="fi">Mukana toimiteaan yksityiskohtainen esimerkkiasetustiedosto, jonka usein voi vain kopioida ~/.kdesrc-buildrc:ksi.</li>
- <li xml:lang="fr">Un exemple de fichier de configuration détaillé est inclus, vous pouvez généralement le copier dans ~/.kdesrc-build sans avoir besoin d'effectuer d'actions supplémentaires.</li>
+ <li>A detailed sample configuration file is included, usually you can just copy it to ~/.config/kdesrc-buildrc and be done with it.</li>
+ <li xml:lang="ca">S'inclou un detallat fitxer de configuració d'exemple, normalment podreu copiar-lo a ~/.config/kdesrc-buildrc i llest.</li>
+ <li xml:lang="ca-valencia">S'inclou un detallat fitxer de configuració d'exemple, normalment podreu copiar-lo a ~/.config/kdesrc-buildrc i llest.</li>
+ <li xml:lang="el">Συμπεριλαμβάνεται ένα δείγμα λεπτομερούς αρχείου διαμόρφωσης, συνήθως μπορείτε να το αντιγράψετε στο ~/.config/kdesrc-buildrc και είστε έτοιμοι.</li>
+ <li xml:lang="en-GB">A detailed sample configuration file is included, usually you can just copy it to ~/.config/kdesrc-buildrc and be done with it.</li>
+ <li xml:lang="es">Se incluye un detallado archivo de configuración de ejemplo, que puede copiar en ~/.config/kdesrc-buildrc para que esté listo para usar.</li>
+ <li xml:lang="et">Kaasa on pandud üksikasjalik konfigureerimisfaili näidis, mille võib tavaliselt muretult asukohta ~/.config/kdesrc-buildrc kopeerida.</li>
+ <li xml:lang="fi">Mukana toimiteaan yksityiskohtainen esimerkkiasetustiedosto, jonka usein voi vain kopioida ~/.config/kdesrc-buildrc:ksi.</li>
+ <li xml:lang="fr">Un exemple de fichier de configuration détaillé est inclus, vous pouvez généralement le copier dans ~/.config/kdesrc-buildrc sans avoir besoin d'effectuer d'actions supplémentaires.</li>
<li xml:lang="hi">एक विस्तृत प्रतिदर्श विन्यास फ़ाइल उपलब्ध, सामान्यतः आप उसकी प्रतिलिपि ~/.केडीईएसआरसी-बिल्डआरसी में बना सकते हैं।</li>
- <li xml:lang="it">È incluso un file di configurazione di esempio, di solito basta semplicemente copiarlo in ~/.kdesrc-buildrc.</li>
- <li xml:lang="ko">간단한 기본 설정 파일이 들어 있어서 ~/.kdesrc-buildrc 파일로 복사하기만 하면 빌드를 실행할 수 있습니다.</li>
- <li xml:lang="nl">Een gedetailleerde voorbeeldconfiguratiebestand is ingevoegd, gewoonlijk kunt u het gewoon kopiëren naar ~/.kdesrc-buildrc en u bent gereed.</li>
- <li xml:lang="nn">Eit detaljert eksempeloppsett følgjer med. Vanlegvis treng du berre kopiera det til ~/.kdesrc-buildrc, og så er alt klart.</li>
- <li xml:lang="pl">Załączony jest szczegółowa próbka pliku ustawień, wystarczy ją skopiować do ~/.kdesrc-buildrc.</li>
- <li xml:lang="pt">Está incluído um ficheiro de configuração de exemplo detalhado, o qual bastará copiar para ~/.kdesrc-buildrc e não precisar de mais nada.</li>
- <li xml:lang="pt-BR">Um exemplo de arquivo de configuração detalhado está incluído, geralmente você pode apenas copiá-lo para ~/.kdesrc-buildrc.</li>
- <li xml:lang="sl">Vključena je podrobna vzorčna konfiguracijska datoteka, običajno jo lahko preprosto kopirate v ~/.kdesrc-buildrc in jo uporabite.</li>
- <li xml:lang="sv">En detaljerad inställningsfil är inkluderad, och oftast kan du bara kopiera den till ~/.kdesrc-buildrc och inte behöva göra något mer.</li>
- <li xml:lang="uk">До складу пакунка включено зразок файла налаштувань із докладними поясненнями. Зазвичай, ви можете просто скопіювати його до ~/.kdesrc-buildrc і почати користуватися програмоюо.</li>
- <li xml:lang="x-test">xxA detailed sample configuration file is included, usually you can just copy it to ~/.kdesrc-buildrc and be done with it.xx</li>
- <li xml:lang="zh-CN">包含了详细的配置文件样本,通常您可以将它复制到 ~/.kdesrc-buildrc 并用它来完成。</li>
+ <li xml:lang="it">È incluso un file di configurazione di esempio, di solito basta semplicemente copiarlo in ~/.config/kdesrc-buildrc.</li>
+ <li xml:lang="ko">간단한 기본 설정 파일이 들어 있어서 ~/.config/kdesrc-buildrc 파일로 복사하기만 하면 빌드를 실행할 수 있습니다.</li>
+ <li xml:lang="nl">Een gedetailleerde voorbeeldconfiguratiebestand is ingevoegd, gewoonlijk kunt u het gewoon kopiëren naar ~/.config/kdesrc-buildrc en u bent gereed.</li>
+ <li xml:lang="nn">Eit detaljert eksempeloppsett følgjer med. Vanlegvis treng du berre kopiera det til ~/.config/kdesrc-buildrc, og så er alt klart.</li>
+ <li xml:lang="pl">Załączony jest szczegółowa próbka pliku ustawień, wystarczy ją skopiować do ~/.config/kdesrc-buildrc.</li>
+ <li xml:lang="pt">Está incluído um ficheiro de configuração de exemplo detalhado, o qual bastará copiar para ~/.config/kdesrc-buildrc e não precisar de mais nada.</li>
+ <li xml:lang="pt-BR">Um exemplo de arquivo de configuração detalhado está incluído, geralmente você pode apenas copiá-lo para ~/.config/kdesrc-buildrc.</li>
+ <li xml:lang="sl">Vključena je podrobna vzorčna konfiguracijska datoteka, običajno jo lahko preprosto kopirate v ~/.config/kdesrc-buildrc in jo uporabite.</li>
+ <li xml:lang="sv">En detaljerad inställningsfil är inkluderad, och oftast kan du bara kopiera den till ~/.config/kdesrc-buildrc och inte behöva göra något mer.</li>
+ <li xml:lang="uk">До складу пакунка включено зразок файла налаштувань із докладними поясненнями. Зазвичай, ви можете просто скопіювати його до ~/.config/kdesrc-buildrc і почати користуватися програмоюо.</li>
+ <li xml:lang="x-test">xxA detailed sample configuration file is included, usually you can just copy it to ~/.config/kdesrc-buildrc and be done with it.xx</li>
+ <li xml:lang="zh-CN">包含了详细的配置文件样本,通常您可以将它复制到 ~/.config/kdesrc-buildrc 并用它来完成。</li>
<li>Much more!</li>
<li xml:lang="ca">Molt més!</li>
<li xml:lang="ca-valencia">Molt més!</li>
diff --git a/vim/ftdetect/kdesrc-buildrc.vim b/vim/ftdetect/kdesrc-buildrc.vim
index 911dc94..581c1ab 100644
--- a/vim/ftdetect/kdesrc-buildrc.vim
+++ b/vim/ftdetect/kdesrc-buildrc.vim
@@ -1,5 +1,5 @@
" Sample code as taken from vim 7.4.273 syntax documentation.
-au BufRead,BufNewFile ~/.kdesrc-buildrc,kdesrc-buildrc* set filetype=kdesrc-buildrc
+au BufRead,BufNewFile kdesrc-buildrc set filetype=kdesrc-buildrc
" vim: set ft=vim:
More information about the kde-doc-english
mailing list