Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vim
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Someone-Else
Vim
Commits
ede981a2
Commit
ede981a2
authored
14 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
Runtime file updates.
parent
fae6c1a0
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
runtime/doc/if_pyth.txt
+14
-7
14 additions, 7 deletions
runtime/doc/if_pyth.txt
runtime/doc/todo.txt
+2
-0
2 additions, 0 deletions
runtime/doc/todo.txt
runtime/syntax/pod.vim
+13
-12
13 additions, 12 deletions
runtime/syntax/pod.vim
with
29 additions
and
19 deletions
runtime/doc/if_pyth.txt
+
14
−
7
View file @
ede981a2
*if_pyth.txt* For Vim version 7.3f. Last change: 2010
Jul 25
*if_pyth.txt* For Vim version 7.3f. Last change: 2010
Aug 10
VIM REFERENCE MANUAL by Paul Moore
...
...
@@ -335,11 +335,11 @@ Currently the name is "python24.dll". That is for Python 2.4. To know for
sure edit "gvim.exe" and search for "python\d*.dll\c".
==============================================================================
7. Python 3
*python3*
7. Python 3
*python3*
*:py3* *:python3*
*:py3* *:python3*
The |:py3| and |:python3| commands work similar to |:python|.
*:py3file*
*:py3file*
The |:py3file| command works similar to |:pyfile|.
Vim can be built in four ways (:version output):
...
...
@@ -349,9 +349,16 @@ Vim can be built in four ways (:version output):
4. Python 2 and 3 support (+python/dyn, +python3/dyn)
You can see that when Python 2 and Python 3 are both supported they must be
loaded dynamically. This may cause some problems though, therefore currently
inside a Vim executable you can only use Python 2 or Python 3. To switch to
the other one you need to restart Vim.
loaded dynamically.
On Linux/Unix systems this can only be done without importing global symbols.
In this case python's "import" might fail, if the library expects the symbols
to be provided by vim. To work around this
1. either the problematic library, or python in case of standard libraries,
must be recompiled to link to the according libpython.so file
(--enable-shared in case of python).
2. Or you recompile vim for only one python version. In this case all symbols
can be imported into vim.
==============================================================================
vim:tw=78:ts=8:ft=help:norl:
This diff is collapsed.
Click to expand it.
runtime/doc/todo.txt
+
2
−
0
View file @
ede981a2
...
...
@@ -199,6 +199,8 @@ J. Wang, 2009 Mar 31)
When $VIMRUNTIME is set in .vimrc, need to reload lang files. Already done
for GTK, how about others? (Ron Aaron, 2010 Apr 10)
Patch for GTK buttons X1Mouse and X2Mouse. (Christian J. Robinson, 2010 Aug 9)
Motif: Build on Ubuntu can't enter any text in dialog text fields.
When 'ft' changes redraw custom status line.
...
...
This diff is collapsed.
Click to expand it.
runtime/syntax/pod.vim
+
13
−
12
View file @
ede981a2
" Vim syntax file
" Language: Perl POD format
" Maintainer: Scott Bigham <dsb@killerbunnies.org>
" Last Change: 2007 Jan 21
" Language: Perl POD format
" Maintainer: Andy Lester <andy@petdance.com>
" URL: http://github.com/petdance/vim-perl
" Last Change: 2009-08-14
" To add embedded POD documentation highlighting to your syntax file, add
" the commands:
...
...
@@ -25,15 +26,15 @@ elseif exists("b:current_syntax")
endif
" POD commands
syn
match
podCommand
"^=head[1234]"
nextgroup
=
podCmdText contains
=
@NoSpell
syn
match
podCommand
"^=item"
nextgroup
=
podCmdText contains
=
@NoSpell
syn
match
podCommand
"^=over"
nextgroup
=
podOverIndent skipwhite contains
=
@NoSpell
syn
match
podCommand
"^=back"
contains
=
@NoSpell
syn
match
podCommand
"^=cut"
contains
=
@NoSpell
syn
match
podCommand
"^=pod"
contains
=
@NoSpell
syn
match
podCommand
"^=for"
nextgroup
=
podForKeywd skipwhite contains
=
@NoSpell
syn
match
podCommand
"^=begin"
nextgroup
=
podForKeywd skipwhite contains
=
@NoSpell
syn
match
podCommand
"^=end"
nextgroup
=
podForKeywd skipwhite contains
=
@NoSpell
syn
match
podCommand
"^=head[1234]"
nextgroup
=
podCmdText contains
=
@NoSpell
syn
match
podCommand
"^=item"
nextgroup
=
podCmdText contains
=
@NoSpell
syn
match
podCommand
"^=over"
nextgroup
=
podOverIndent skipwhite contains
=
@NoSpell
syn
match
podCommand
"^=back"
contains
=
@NoSpell
syn
match
podCommand
"^=cut"
contains
=
@NoSpell
syn
match
podCommand
"^=pod"
contains
=
@NoSpell
syn
match
podCommand
"^=for"
nextgroup
=
podForKeywd skipwhite contains
=
@NoSpell
syn
match
podCommand
"^=begin"
nextgroup
=
podForKeywd skipwhite contains
=
@NoSpell
syn
match
podCommand
"^=end"
nextgroup
=
podForKeywd skipwhite contains
=
@NoSpell
" Text of a =head1, =head2 or =item command
syn
match
podCmdText
".*$"
contained contains
=
podFormat
,
@NoSpell
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment