From 64c57851ab41bd0a4acfb2ea9fde7984a399a10c Mon Sep 17 00:00:00 2001 From: Math1313 Date: Fri, 16 May 2025 00:26:12 -0400 Subject: [PATCH] add devcontainer.lua and setup in init --- init.lua | 4 +++- lua/custom/plugins/devcontainer.lua | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 lua/custom/plugins/devcontainer.lua diff --git a/init.lua b/init.lua index 7ea96864..4ac22414 100644 --- a/init.lua +++ b/init.lua @@ -944,7 +944,7 @@ require('lazy').setup({ main = 'nvim-treesitter.configs', -- Sets main module to use for opts -- [[ Configure Treesitter ]] See `:help nvim-treesitter` opts = { - ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' }, + ensure_installed = { 'jsonc', 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' }, -- Autoinstall languages that are not installed auto_install = true, highlight = { @@ -1012,5 +1012,7 @@ require('lazy').setup({ }, }) +require('devcontainer').setup {} + -- The line beneath this is called `modeline`. See `:help modeline` -- vim: ts=2 sts=2 sw=2 et diff --git a/lua/custom/plugins/devcontainer.lua b/lua/custom/plugins/devcontainer.lua new file mode 100644 index 00000000..98d2d786 --- /dev/null +++ b/lua/custom/plugins/devcontainer.lua @@ -0,0 +1,3 @@ +return { + 'https://codeberg.org/esensar/nvim-dev-container', +}