~ubuntu-branches/ubuntu/trusty/anjuta/trusty

« back to all changes in this revision

Viewing changes to manuals/anjuta-manual/ro/language-support-cpp-modelines-vim.page

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-08-17 23:48:26 UTC
  • mfrom: (1.1.50)
  • Revision ID: package-import@ubuntu.com-20120817234826-fvk3rfp6nmfaqi9p
Tags: 2:3.5.5-0ubuntu1
* New upstream release.
* debian/control.in:
  - Bump vala dependency to 0.18 series
  - Drop graphviz from build-depends
* debian/watch: Watch for unstable releases

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="language-support-cpp-modelines-vim" xml:lang="ro">
 
3
 
 
4
  <info xmlns:facet="http://projectmallard.org/facet/1.0/">
 
5
    <facet:tag key="all-pages" value="whatever"/> <!--Include page in index-->
 
6
    <link type="guide" xref="anjuta-code-indentation#editor-modelines"/>
 
7
    <revision pkgversion="3.0" version="0.1" date="2011-03-27" status="incomplete"/>
 
8
    <desc>
 
9
      Supported Vim modelines features.
 
10
    </desc>
 
11
    <credit type="author">
 
12
      <name>Sébastien Granjoux</name>
 
13
      <email>seb.sfo@free.fr</email>
 
14
    </credit>
 
15
  </info>
 
16
 
 
17
  <title>Vim modelines</title>
 
18
 
 
19
  <p>This modeline is a comment in the first line of the file which
 
20
  has to start with <code>vim:</code> followed by at least one space and
 
21
  a list of variable names with an optional value after <code>=</code>
 
22
  separated by space or <code>:</code>.</p>
 
23
  
 
24
  <p>A typical <app>Vim</app> modeline looks like this:</p>
 
25
  
 
26
  <code>
 
27
/* vim: set noet ts=4 sw=4: */</code>
 
28
 
 
29
  <p>Anjuta support only the following variables.</p>
 
30
 
 
31
  <terms>
 
32
    <item>
 
33
      <title><code>expandtab</code></title>
 
34
      <title><code>et</code></title>
 
35
      <p>Use spaces for indentation.</p>
 
36
    </item>
 
37
    <item>
 
38
      <title><code>noexpandtab</code></title>
 
39
      <title><code>noet</code></title>
 
40
      <p>Use tabulation for indentation.</p>
 
41
    </item>
 
42
    <item>
 
43
      <title><code>softtabstop</code></title>
 
44
      <title><code>sts</code></title>
 
45
      <title><code>tabstop</code></title>
 
46
      <title><code>ts</code></title>
 
47
      <p>Number of space characters corresponding to one tabulation character.</p>
 
48
    </item>
 
49
    <item>
 
50
      <title><code>shiftwidth</code></title>
 
51
      <title><code>sw</code></title>
 
52
      <p>Number of space characters used to indent C code.</p>
 
53
    </item>
 
54
  </terms>
 
55
 
 
56
</page>