mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-13 14:42:58 +01:00
remove polyglot garbo plugin and add cgt filetype support
This commit is contained in:
parent
eb7513b2f6
commit
96fb7c8dc6
3 changed files with 8 additions and 3 deletions
8
mzte-nv/conf/filetype.lua
Normal file
8
mzte-nv/conf/filetype.lua
Normal 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,
|
||||
},
|
||||
}
|
|
@ -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",
|
||||
|
|
|
@ -20,8 +20,6 @@ o.termguicolors = true
|
|||
wo.cursorline = true
|
||||
wo.cursorcolumn = true
|
||||
|
||||
g.zig_fmt_autosave = 0
|
||||
|
||||
o.conceallevel = 2
|
||||
|
||||
-- disable garbage providers
|
||||
|
|
Loading…
Reference in a new issue