Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nathom committed Nov 24, 2021
2 parents 26ef9b0 + 1f340f1 commit 295e107
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/filetype/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ local function try_all_maps(absolute_path, filename, ext, extensions)
return true
end

if try_regex(absolute_path, map.function_complex) then
return true
end

-- These require the use of a special function that excludes
-- certain filetypes from being binded to autocommands
-- using g:ft_ignore_pat
Expand Down

0 comments on commit 295e107

Please sign in to comment.