Files
neovim/lua/plugins/init.lua

105 lines
1.8 KiB
Lua

return {
{
"christoomey/vim-tmux-navigator",
lazy = false,
},
{
"stevearc/conform.nvim",
event = "BufWritePre", -- uncomment for format on save
opts = require "configs.conform",
},
-- These are some examples, uncomment them if you want to see them work!
{
"neovim/nvim-lspconfig",
config = function()
require "configs.lspconfig"
end,
},
{
"github/copilot.vim",
lazy = false,
config = function() -- Mapping tab is already used by NvChad
vim.g.copilot_no_tab_map = true
vim.g.copilot_assume_mapped = true
-- The mapping is set to other key, see custom/lua/mappings
-- or run <leader>ch to see copilot mapping section
end,
},
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"vim",
"lua",
"vimdoc",
"html",
"css",
"javascript",
"typescript",
"c",
"markdown",
"haskell",
"json",
"toml",
},
},
},
{
"rust-lang/rust.vim",
ft = "rust",
init = function()
vim.g.rustfmt_autosave = 1
end,
},
{
"saecki/crates.nvim",
ft = { "rust", "toml" },
config = function(_, opts)
local crates = require "crates"
crates.setup(opts)
crates.show()
end,
},
{
"nanotee/zoxide.vim",
lazy = false,
},
{
"othree/html5.vim",
},
{
"pangloss/vim-javascript",
},
{
"evanleck/vim-svelte",
},
{
"max397574/better-escape.nvim",
event = "InsertEnter",
config = function()
require("better_escape").setup()
end,
},
-- {
-- "nvim-treesitter/nvim-treesitter",
-- opts = {
-- ensure_installed = {
-- "vim", "lua", "vimdoc",
-- "html", "css"
-- },
-- },
-- },
}