[nvim] Zig plugin and laguage server fix.
This commit is contained in:
@@ -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", {
|
||||
|
||||
Reference in New Issue
Block a user