nathom / filetype.nvim

A faster version of filetype.vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recent commit break on windows 10

maxxnino opened this issue · comments

Recent commit not detect file on windows 10

commit 223161d736b85a283aa6a18a30b6c3f1d39f21c5 (HEAD)
Author: Nathan Thomas <nathanthomas707@gmail.com>
Date:   Mon Nov 22 11:55:02 2021 -0800
    Add clang-format config files
commit 26ef9b00f040b33ee7afdc768bcffdc9e3cf4b9c (HEAD)
Author: Nathan Thomas <nathanthomas707@gmail.com>
Date:   Mon Nov 22 14:44:44 2021 -0800
    Replace vim.fn.expand calls
  • My config
vim.g.did_load_filetypes = 1
require("filetype").setup({
		overrides = {
			extensions = {
				vert = "glsl",
				frag = "glsl",
			},
			literal = {
				[".gitignore"] = "conf",
			},
		},
	})

Fixed with #47.