public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-editors/vim-core/files/
@ 2016-12-01  0:24 Tim Harder
  0 siblings, 0 replies; 4+ messages in thread
From: Tim Harder @ 2016-12-01  0:24 UTC (permalink / raw
  To: gentoo-commits

commit:     f75e7300cf7eba9070a39a6000e1099fb6a305cd
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  1 00:22:04 2016 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Thu Dec  1 00:23:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f75e7300

app-editors/vim-core: disregard user mappings when restoring cursor position

This fixes bug #598726.

 app-editors/vim-core/files/vimrc-r5 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/vim-core/files/vimrc-r5 b/app-editors/vim-core/files/vimrc-r5
index fdc316b..8143be5 100644
--- a/app-editors/vim-core/files/vimrc-r5
+++ b/app-editors/vim-core/files/vimrc-r5
@@ -167,7 +167,7 @@ augroup gentoo
   autocmd BufReadPost *
         \ if ! exists("g:leave_my_cursor_position_alone") |
         \     if line("'\"") > 0 && line ("'\"") <= line("$") |
-        \         exe "normal g'\"" |
+        \         exe "normal! g'\"" |
         \     endif |
         \ endif
 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-editors/vim-core/files/
@ 2017-10-22 14:25 Patrice Clement
  0 siblings, 0 replies; 4+ messages in thread
From: Patrice Clement @ 2017-10-22 14:25 UTC (permalink / raw
  To: gentoo-commits

commit:     cc69009cc7aef4420b844bc199abfe5285b6e0d4
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 22 14:03:05 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Oct 22 14:25:42 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc69009c

app-editors/vim-core: enable omni completion based on syntax files.

Closes: https://bugs.gentoo.org/330187

Courtesy of Florian Crouzat <gentoo <AT> floriancrouzat.net>

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-editors/vim-core/files/vimrc-r5 | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/app-editors/vim-core/files/vimrc-r5 b/app-editors/vim-core/files/vimrc-r5
index 3386b6c54ba..5d8c9d5b0f1 100644
--- a/app-editors/vim-core/files/vimrc-r5
+++ b/app-editors/vim-core/files/vimrc-r5
@@ -199,5 +199,16 @@ if filereadable("@GENTOO_PORTAGE_EPREFIX@/etc/vim/vimrc.local")
 endif
 " }}}
 
+" Enable Omni completion when opening a file only if a specific plugin does
+" not already exist for that filetype. This allows Omni completion
+" (Ctrl-x/Ctrl-o) to work with any programming language if and only if a syntax
+" file exists for the said language.
+if exists("+omnifunc")
+   autocmd Filetype *
+	      \	if &omnifunc == "" |
+	      \		setlocal omnifunc=syntaxcomplete#Complete |
+	      \	endif
+endif
+
 " vim: set fenc=utf-8 tw=80 sw=2 sts=2 et foldmethod=marker :
 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-editors/vim-core/files/
@ 2017-10-22 14:31 Patrice Clement
  0 siblings, 0 replies; 4+ messages in thread
From: Patrice Clement @ 2017-10-22 14:31 UTC (permalink / raw
  To: gentoo-commits

commit:     e24b5f0d42be2a081237c6f1362f2672ebffaf4a
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 22 14:31:13 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Oct 22 14:31:13 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e24b5f0d

app-editors/vim-core: enable omni completion before sourcing of /etc/vimrc.local.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-editors/vim-core/files/vimrc-r5 | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/app-editors/vim-core/files/vimrc-r5 b/app-editors/vim-core/files/vimrc-r5
index 5d8c9d5b0f1..2409822e628 100644
--- a/app-editors/vim-core/files/vimrc-r5
+++ b/app-editors/vim-core/files/vimrc-r5
@@ -193,12 +193,6 @@ endif " has("autocmd")
 " instead:
 let g:skip_defaults_vim = 1
 
-" {{{ vimrc.local
-if filereadable("@GENTOO_PORTAGE_EPREFIX@/etc/vim/vimrc.local")
-  source @GENTOO_PORTAGE_EPREFIX@/etc/vim/vimrc.local
-endif
-" }}}
-
 " Enable Omni completion when opening a file only if a specific plugin does
 " not already exist for that filetype. This allows Omni completion
 " (Ctrl-x/Ctrl-o) to work with any programming language if and only if a syntax
@@ -210,5 +204,11 @@ if exists("+omnifunc")
 	      \	endif
 endif
 
+" {{{ vimrc.local
+if filereadable("@GENTOO_PORTAGE_EPREFIX@/etc/vim/vimrc.local")
+  source @GENTOO_PORTAGE_EPREFIX@/etc/vim/vimrc.local
+endif
+" }}}
+
 " vim: set fenc=utf-8 tw=80 sw=2 sts=2 et foldmethod=marker :
 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-editors/vim-core/files/
@ 2023-02-01  1:18 Conrad Kostecki
  0 siblings, 0 replies; 4+ messages in thread
From: Conrad Kostecki @ 2023-02-01  1:18 UTC (permalink / raw
  To: gentoo-commits

commit:     8218305dc9dc0468081f5e0a503ed890a301c8ab
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Jan 30 19:10:01 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Feb  1 01:13:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8218305d

app-editors/vim-core: remove unused patch

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/29345
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 ...m-9.0-fix-create-timer-for-cros-compiling.patch | 28 ----------------------
 1 file changed, 28 deletions(-)

diff --git a/app-editors/vim-core/files/vim-9.0-fix-create-timer-for-cros-compiling.patch b/app-editors/vim-core/files/vim-9.0-fix-create-timer-for-cros-compiling.patch
deleted file mode 100644
index 5247a80754cc..000000000000
--- a/app-editors/vim-core/files/vim-9.0-fix-create-timer-for-cros-compiling.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From bba26c9ed9d4ddc82afd0343f145dc9e14b91498 Mon Sep 17 00:00:00 2001
-From: Varsha Teratipally <teratipally@google.com>
-Date: Tue, 2 Aug 2022 22:18:29 +0000
-Subject: [PATCH] Configure check for timer_create may give wrong error.
-Give a warning instead of an error
-
-Partial solution from github.com/vim/vim/commit/5f6cae8b8a49c435556e32f84d067cd0b4d28e4c
-
----
- src/configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/configure.ac b/src/configure.ac
-index e8522ec05..41f41dee3 100644
---- a/src/configure.ac
-+++ b/src/configure.ac
-@@ -3850,7 +3850,7 @@ static void set_flag(union sigval sv) {}
-     ])],
-     vim_cv_timer_create=yes,
-     vim_cv_timer_create=no),
--    AC_MSG_ERROR(cross-compiling: please set 'vim_cv_timer_create')
-+    AC_MSG_WARN(cross-compiling: please set 'vim_cv_timer_create')
-     )]
- )
- 
--- 
-
-


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-02-01  1:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-01  1:18 [gentoo-commits] repo/gentoo:master commit in: app-editors/vim-core/files/ Conrad Kostecki
  -- strict thread matches above, loose matches on Subject: below --
2017-10-22 14:31 Patrice Clement
2017-10-22 14:25 Patrice Clement
2016-12-01  0:24 Tim Harder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox