Files
nixos-dots/nvim/lua/plugins/init.lua
2025-12-12 21:09:58 +01:00

83 lines
1.6 KiB
Lua

return {
{
"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,
},
-- test new blink
{
import = "nvchad.blink.lazyspec",
},
{
"saghen/blink.cmp",
opts = {
completion = {
list = {
selection = { preselect = false, auto_insert = false },
},
},
keymap = {
["<CR>"] = { "fallback" }, -- Enter only inserts newline, doesn't accept
["<Tab>"] = { "select_and_accept", "snippet_forward", "fallback" }, -- Tab accepts
},
},
},
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"vim", "lua", "vimdoc",
"html", "css", "rust", "toml"
},
},
},
{
"nvim-telescope/telescope.nvim",
opts = {
defaults = {
file_ignore_patterns = {}, -- Don't ignore any patterns by default
},
pickers = {
find_files = {
hidden = true,
no_ignore = true, -- Show files ignored by .gitignore
no_ignore_parent = true,
},
},
},
},
{
"nvim-tree/nvim-tree.lua",
opts = {
filters = {
dotfiles = false,
git_ignored = false, -- Show files ignored by .gitignore
},
view = {
adaptive_size = false,
},
renderer = {
highlight_git = true,
icons = {
show = {
git = true,
},
},
},
},
},
}