From e40456a90b3fbcc229c121a112561122ef63120c Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Tue, 7 Jun 2016 08:19:59 +0200 Subject: [PATCH] Replace `@` with `this` when not used as `@keyword` --- extension/lib/vim.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extension/lib/vim.coffee b/extension/lib/vim.coffee index e04e652..6ff615e 100644 --- a/extension/lib/vim.coffee +++ b/extension/lib/vim.coffee @@ -53,12 +53,12 @@ class Vim _addListeners: -> @_listen('vimMethod', ({method, args = []}, callback = null) => - result = @[method](args...) + result = this[method](args...) callback?(result) ) @_listen('vimMethodSync', ({method, args = []}) => - return @[method](args...) + return this[method](args...) ) @_listen('locationChange', @_onLocationChange.bind(this)) -- 2.39.3