vim.pack.add({ { src = "https://github.com/ibhagwan/fzf-lua" }, { src = "https://github.com/catppuccin/nvim", name = "catppuccin" }, { src = "https://github.com/tribela/transparent.nvim" }, { src = "https://github.com/neovim/nvim-lspconfig" }, { src = "https://github.com/romus204/tree-sitter-manager.nvim" } }) vim.cmd(":colorscheme catppuccin-nvim") require("tree-sitter-manager").setup({}) local map = vim.keymap.set local acmd = vim.api.nvim_create_autocmd acmd('FileType', { pattern = '*', callback = function() pcall(vim.treesitter.start) vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()" end, }) require("fzf-lua").setup() map("n", "f", ":lua FzfLua.files()") map("n", "o", ":lua FzfLua.buffers()") map("n", "ss", ":lua FzfLua.grep_project()") map("n", "sf", ":lua FzfLua.grep_curbuf()") map("n", "sw", ":lua FzfLua.grep_cword()") map("n", "sh", ":lua FzfLua.help_tags()") map("n", "sd", ":lua FzfLua.diagnostics_document()") map("n", "sa", ":lua FzfLua.lsp_code_actions()")