neovim

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

commit 86cc33a46412081779b8e6d147c76a2d4d0d7f0f
parent c6d747e6a5227e17556c62e16ed054398eb1a89a
Author: Gregory Anders <8965202+gpanders@users.noreply.github.com>
Date:   Fri,  3 Jun 2022 21:52:59 -0600

fix(filetype): fix typo in starsetf function (#18856)


Diffstat:
Mruntime/lua/vim/filetype.lua | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua @@ -6,11 +6,11 @@ local M = {} local function starsetf(ft) return { function(path) - if not vim.g.fg_ignore_pat then + if not vim.g.ft_ignore_pat then return ft end - local re = vim.regex(vim.g.fg_ignore_pat) + local re = vim.regex(vim.g.ft_ignore_pat) if re:match_str(path) then return ft end