[nvim] Zig plugin and laguage server fix.

This commit is contained in:
jmug
2026-02-28 01:59:59 -08:00
parent 6cb5f8b8c7
commit 5e210a5a38
2 changed files with 11 additions and 0 deletions
@@ -41,6 +41,7 @@ return require('packer').startup(function(use)
-- Syntax
use 'sheerun/vim-polyglot'
use 'https://codeberg.org/ziglang/zig.vim'
-- use {
--- 'prettier/vim-prettier',
-- run = "yarn install",
@@ -78,6 +78,16 @@ endfunction
-- command! -nargs=* -bang RG call RipgrepFzf(<q-args>, <bang>0)
-- ]])
-- Use upstream zig plugin instead of polyglot.
vim.g.polyglot_disabled = { "zig" }
-- Prioritize Objective-C
vim.filetype.add({
extension = {
m = 'objc',
},
})
-- Soft line wrapping for markdown.
local markdown_group = vim.api.nvim_create_augroup("MarkdownSpecific", { clear = true })
vim.api.nvim_create_autocmd("FileType", {