remove polyglot garbo plugin and add cgt filetype support

This commit is contained in:
LordMZTE 2023-01-21 13:50:19 +01:00
parent eb7513b2f6
commit 96fb7c8dc6
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6
3 changed files with 8 additions and 3 deletions

View file

@ -0,0 +1,8 @@
vim.filetype.add {
extension = {
cgt = function(path, bufnr)
local trimmed = path:gsub(".cgt$", "")
return vim.filetype.match { filename = trimmed, bufnr = bufnr }
end,
},
}

View file

@ -68,7 +68,6 @@ require("packer").startup(function(use)
}
use "dag/vim-fish"
use "uiiaoo/java-syntax.vim"
use "sheerun/vim-polyglot"
use {
"nvim-lualine/lualine.nvim",
requires = "arkav/lualine-lsp-progress",

View file

@ -20,8 +20,6 @@ o.termguicolors = true
wo.cursorline = true
wo.cursorcolumn = true
g.zig_fmt_autosave = 0
o.conceallevel = 2
-- disable garbage providers