[vim/vim] runtime(rasi): add filetype and syntax plugin (PR #14821)

11 vues
Accéder directement au premier message non lu

Pierrick Guillaume

non lue,
21 mai 2024, 10:26:0421 mai
à vim/vim,Subscribed

ported from: https://github.com/Fymyte/rasi.vim

Signed-of-by: Pierrick Guillaume pier...@gmail.com


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/14821

Commit Summary

  • a8ad02d runtime(rasi): add filetype and syntax plugin

File Changes

(6 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/14821@github.com>

Christian Brabandt

non lue,
22 mai 2024, 08:20:1822 mai
à vim/vim,Subscribed

@chrisbra commented on this pull request.


In runtime/ftplugin/rasi.vim:

> +" Vim filetype plugin file
+" Language:		RASI
+" Maintainer:		Pierrick Guillaume <pier...@gmail.com>
+" Last Change:		2024 May 21
+
+if exists("b:did_ftplugin")
+  finish
+endif
+let b:did_ftplugin = 1
+
+let s:cpo_save = &cpo
+set cpo&vim
+
+let b:undo_ftplugin = "setl com< cms< isk<"
+
+setlocal comments=s1:/*,mb:*,ex:*/ commentstring&

no need to reset commentstring option, since you are setting it in the next line anyhow.


In runtime/ftplugin/rasi.vim:

> +
+if exists("b:did_ftplugin")
+  finish
+endif
+let b:did_ftplugin = 1
+
+let s:cpo_save = &cpo
+set cpo&vim
+
+let b:undo_ftplugin = "setl com< cms< isk<"
+
+setlocal comments=s1:/*,mb:*,ex:*/ commentstring&
+setlocal commentstring=//\ %s
+setlocal iskeyword+=-
+
+let &l:include = '^\s*@import\s\+\%(url(\)\='

missing in b:undo_ftplugin


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/14821/review/2071021436@github.com>

Pierrick Guillaume

non lue,
31 mai 2024, 05:25:4431 mai
à vim/vim,Push

@Fymyte pushed 2 commits.

  • e3abae0 runtime(java): Improve the matching of lambda expressions (#14880)
  • 7fbd56c runtime(rasi): add filetype and syntax plugin


View it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/14821/push/18670459083@github.com>

Pierrick Guillaume

non lue,
31 mai 2024, 05:34:5731 mai
à vim/vim,Subscribed

Hi, sorry for the forced push, I messed up my rebase.

I fixed your 2 requests 👍 thx for the review


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/14821/c2141611542@github.com>

Christian Brabandt

non lue,
31 mai 2024, 06:00:4531 mai
à vim/vim,Subscribed

thanks!


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/14821/c2141676184@github.com>

Christian Brabandt

non lue,
31 mai 2024, 06:04:3731 mai
à vim/vim,Subscribed

Closed #14821 via 280e5b1.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/14821/issue_event/12998093983@github.com>

Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message