neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit cdbc3e3f3e95a1df9de180ee4ac52d460e5c6905
parent f879a6545574c6d2eef7b4df2f5c5d96f5e34589
Author: Lewis Russell <lewis6991@gmail.com>
Date:   Mon, 11 Mar 2024 09:47:26 +0000

fix(editorconfig): syntax error regression

Diffstat:
Mruntime/lua/editorconfig.lua | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/runtime/lua/editorconfig.lua b/runtime/lua/editorconfig.lua @@ -273,6 +273,9 @@ end local M = {} +-- Exposed for use in syntax/editorconfig.vim` +M.properties = properties + --- @private --- Configure the given buffer with options from an `.editorconfig` file --- @param bufnr integer Buffer number to configure @@ -303,7 +306,7 @@ function M.config(bufnr) local applied = {} --- @type table<string,string|boolean> for opt, val in pairs(opts) do if val ~= 'unset' then - local func = properties[opt] + local func = M.properties[opt] if func then --- @type boolean, string? local ok, err = pcall(func, bufnr, val, opts)