Updating underlying problems
added zig language, but added neovim keybindings. This goes with the addition of a .luarc.json to remove the root dir pull and scan.
This commit is contained in:
parent
cd0201644c
commit
e8af44278a
14
init.lua
14
init.lua
|
|
@ -279,7 +279,17 @@ do
|
|||
-- In this section we set up some autocommands to run build
|
||||
-- steps for certain plugins after they are installed or updated.
|
||||
|
||||
vim.pack.add({
|
||||
{ src = "https://github.com/folke/lazydev.nvim" },
|
||||
})
|
||||
|
||||
require('lazydev').setup({
|
||||
library = {
|
||||
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
|
||||
},
|
||||
})
|
||||
local function run_build(name, cmd, cwd)
|
||||
|
||||
local result = vim.system(cmd, { cwd = cwd }):wait()
|
||||
if result.code ~= 0 then
|
||||
local stderr = result.stderr or ''
|
||||
|
|
@ -1008,9 +1018,9 @@ do
|
|||
|
||||
-- NOTE: You can also specify a branch or a specific commit
|
||||
vim.pack.add { { src = gh 'nvim-treesitter/nvim-treesitter', version = 'main' } }
|
||||
|
||||
require('nvim-treesitter.install').compilers = { 'zig' }
|
||||
-- Ensure basic parsers are installed
|
||||
local parsers = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', 'python' }
|
||||
local parsers = {'zig', 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', 'python' }
|
||||
require('nvim-treesitter').install(parsers)
|
||||
|
||||
---@param buf integer
|
||||
|
|
|
|||
Loading…
Reference in New Issue