Hi Attached patch fixes an issue in aidl syntax highlighting: Vim was highlighting 'const' as an error in *.aidl files despite being a valid aidl keyword.
Regards Dominique -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAON-T_hADUP8bEHyd8u90rmEgR9L1jeH6anoK94JyjSxsjRpUQ%40mail.gmail.com.
diff --git a/runtime/syntax/aidl.vim b/runtime/syntax/aidl.vim index 1947ab97d..3a79433aa 100644 --- a/runtime/syntax/aidl.vim +++ b/runtime/syntax/aidl.vim @@ -2,7 +2,7 @@ " Language: aidl (Android Interface Definition Language) " https://developer.android.com/guide/components/aidl " Maintainer: Dominique Pelle <[email protected]> -" LastChange: 2020/07/25 +" LastChange: 2020/12/03 " Quit when a syntax file was already loaded. if exists("b:current_syntax") @@ -12,7 +12,7 @@ endif source <sfile>:p:h/java.vim syn keyword aidlParamDir in out inout -syn keyword aidlKeyword oneway parcelable +syn keyword aidlKeyword const oneway parcelable " Needed for the 'in', 'out', 'inout' keywords to be highlighted. syn cluster javaTop add=aidlParamDir
