diff --git a/after/plugin/telescope.lua b/after/plugin/telescope.lua index 76b1ba8..c9edaeb 100644 --- a/after/plugin/telescope.lua +++ b/after/plugin/telescope.lua @@ -24,6 +24,6 @@ wk.register({h = { name = "help" }, prefix = ""}) vim.keymap.set("n", "ht", builtin.colorscheme, { desc = "Load theme" }) vim.keymap.set("n", "hf", builtin.commands , { desc = "Describe function" }) vim.keymap.set("n", "hk", builtin.keymaps , { desc = "Describe key" }) -vim.keymap.set("n", "hv", builtin.vim_options, { desc = "Describe key" }) +vim.keymap.set("n", "hv", builtin.vim_options, { desc = "Describe variable" }) vim.keymap.set("n", "hh", builtin.help_tags , { desc = "Search local wiki" }) diff --git a/after/plugin/treesitter.lua b/after/plugin/treesitter.lua index a4881fb..4bd5213 100644 --- a/after/plugin/treesitter.lua +++ b/after/plugin/treesitter.lua @@ -1,5 +1,20 @@ require'nvim-treesitter.configs'.setup { - ensure_installed = { "rust", "vim", "javascript", "html", "css", "python", "java", "lua", "perl", "php", "c", "json" }, + ensure_installed = { + "c", + "css", + "html", + "java", + "javascript", + "json", + "lua", + "perl", + "php", + "python", + "rust", + "typst", + "vim", + "vimdoc", + }, ignore_install = { "latex", "markdown", "htmldjango" }, diff --git a/lua/andrew/packer.lua b/lua/andrew/packer.lua index 82aa4e1..cee7773 100644 --- a/lua/andrew/packer.lua +++ b/lua/andrew/packer.lua @@ -12,14 +12,21 @@ end local packer_bootstrap = ensure_packer() return require("packer").startup(function(use) - use "goolord/alpha-nvim" - use "wbthomason/packer.nvim" + -- QML syntax highlighting + use "peterhoeg/vim-qml" + + -- Terminal file manager support use "DreamMaoMao/yazi.nvim" + -- Coq support use "whonore/Coqtail" + -- Dashboard buffer + use "goolord/alpha-nvim" + + -- Show valid keys mid key chord use { "folke/which-key.nvim", config = function() @@ -118,12 +125,6 @@ return require("packer").startup(function(use) -- Auto comment use "numToStr/Comment.nvim" - -- Markdown - use({ - "agryphus/markdown-preview.nvim", - run = function() vim.fn["mkdp#util#install"]() end, - }) - -- Jupyter notebook integration -- use { -- "glacambre/firenvim", diff --git a/lua/andrew/set.lua b/lua/andrew/set.lua index 32b7a34..92f8bdb 100644 --- a/lua/andrew/set.lua +++ b/lua/andrew/set.lua @@ -21,6 +21,12 @@ autocmd("bufenter", { end, }) +vim.filetype.add({ + extension = { + typ = 'typst' + } +}) + -- Only search with case if capital letter is typed vim.opt.ignorecase = true vim.opt.smartcase = true