Mercurial > vim
view runtime/ftplugin/toml.vim @ 33506:f61713271934 v9.0.2002
patch 9.0.2002: Vim9: need cleanup of class related interface code
Commit: https://github.com/vim/vim/commit/b852305dbf42f1206ecc6ae414fc200235fe2963
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sun Oct 8 19:07:39 2023 +0200
patch 9.0.2002: Vim9: need cleanup of class related interface code
Problem: Vim9: need cleanup of class related interface code
Solution: Remove the unused class variable and class method related code
for interfaces.
Remove unused class variable and class method related code for
interfaces.
Refactor the code.
Optimize the object/class member double lookup in compile_lhs().
Change unused global functions to static functions.
closes: #13302
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 08 Oct 2023 19:15:06 +0200 |
parents | ef1c4fa8fc11 |
children |
line wrap: on
line source
" Vim filetype plugin " Language: TOML " Homepage: https://github.com/cespare/vim-toml " Maintainer: Aman Verma " Author: Lily Ballard <lily@ballards.net> " Last Change: Sep 21, 2021 if exists('b:did_ftplugin') finish endif let b:did_ftplugin = 1 let s:save_cpo = &cpo set cpo&vim let b:undo_ftplugin = 'setlocal commentstring< comments<' setlocal commentstring=#\ %s setlocal comments=:# let &cpo = s:save_cpo unlet s:save_cpo " vim: et sw=2 sts=2