redid the indentation

This commit is contained in:
Dario48true 2023-11-15 17:39:44 +01:00
parent fc7c0f7100
commit 039b5c7691
9 changed files with 69 additions and 69 deletions

View file

@ -1,13 +1,13 @@
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then if not vim.loop.fs_stat(lazypath) then
vim.fn.system({ vim.fn.system({
"git", "git",
"clone", "clone",
"--filter=blob:none", "--filter=blob:none",
"https://github.com/folke/lazy.nvim.git", "https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release "--branch=stable", -- latest stable release
lazypath, lazypath,
}) })
end end
vim.opt.rtp:prepend(lazypath) vim.opt.rtp:prepend(lazypath)
require("lazy").setup({ import = "Dario48/plugins" }) require("lazy").setup({ import = "Dario48/plugins" })

View file

@ -1,6 +1,6 @@
return { return {
'ThePrimeagen/vim-be-good', 'ThePrimeagen/vim-be-good',
config = function() config = function()
vim.keymap.set("n", "<leader>vbg", ":VimBeGood <CR>") vim.keymap.set("n", "<leader>vbg", ":VimBeGood <CR>")
end end
} }

View file

@ -29,7 +29,7 @@ return {
{'bottom_of_mlm', 961, 1078}, {'bottom_of_mlm', 961, 1078},
} }
-- Set menu -- Set menu
dashboard.section.buttons.val= { dashboard.section.buttons.val= {
type = "group", type = "group",
val = { val = {
{ type = "text", val = "Quick links", opts = { hl = "SpecialComment", position = "center" } }, { type = "text", val = "Quick links", opts = { hl = "SpecialComment", position = "center" } },
@ -46,6 +46,6 @@ return {
-- Disable folding on alpha buffer -- Disable folding on alpha buffer
vim.cmd([[ vim.cmd([[
autocmd FileType alpha setlocal nofoldenable autocmd FileType alpha setlocal nofoldenable
]]) ]])
end end
}; };

View file

@ -1,11 +1,11 @@
return { return {
'akinsho/bufferline.nvim', 'akinsho/bufferline.nvim',
version = "*", version = "*",
dependencies = 'nvim-tree/nvim-web-devicons', dependencies = 'nvim-tree/nvim-web-devicons',
config = function() config = function()
require("bufferline").setup() require("bufferline").setup()
vim.keymap.set("n", "<leader>bb", ":bNext <CR>") vim.keymap.set("n", "<leader>bb", ":bNext <CR>")
vim.keymap.set("n", "<leader>bk", ":bdelete <CR>") vim.keymap.set("n", "<leader>bk", ":bdelete <CR>")
vim.keymap.set("n", "<leader>bl", ":blast <CR>") vim.keymap.set("n", "<leader>bl", ":blast <CR>")
end end
} }

View file

@ -1,10 +1,10 @@
return { return {
'freddiehaddad/feline.nvim', 'freddiehaddad/feline.nvim',
dependencies = { dependencies = {
'nvim-tree/nvim-web-devicons', 'nvim-tree/nvim-web-devicons',
'lewis6991/gitsigns.nvim', 'lewis6991/gitsigns.nvim',
}, },
config = function() config = function()
require('feline').setup() require('feline').setup()
end end
} }

View file

@ -1,8 +1,8 @@
return { return {
"EdenEast/nightfox.nvim", "EdenEast/nightfox.nvim",
priority = 1000, priority = 1000,
config = function() config = function()
vim.opt.termguicolors = true vim.opt.termguicolors = true
vim.cmd("colorscheme carbonfox") vim.cmd("colorscheme carbonfox")
end end
} }

View file

@ -1,12 +1,12 @@
return { return {
'nvim-telescope/telescope.nvim', 'nvim-telescope/telescope.nvim',
dependencies = { 'nvim-lua/plenary.nvim', "sharkdp/fd", "nvim-tree/nvim-web-devicons" }, dependencies = { 'nvim-lua/plenary.nvim', "sharkdp/fd", "nvim-tree/nvim-web-devicons" },
config = function() config = function()
local builtin = require('telescope.builtin') local builtin = require('telescope.builtin')
vim.keymap.set('n', '<leader>ff', builtin.find_files, {}) vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
vim.keymap.set('n', '<leader>fg', builtin.git_files, {}) vim.keymap.set('n', '<leader>fg', builtin.git_files, {})
vim.keymap.set('n', '<leader>fs', function() vim.keymap.set('n', '<leader>fs', function()
builtin.grep_string({search = vim.fn.input("What to grep? ")}) builtin.grep_string({search = vim.fn.input("What to grep? ")})
end) end)
end end
} }

View file

@ -1,17 +1,17 @@
return { return {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
build = function() build = function()
require("nvim-treesitter.install").update({ with_sync = true })() require("nvim-treesitter.install").update({ with_sync = true })()
end, end,
config = function () config = function ()
local configs = require("nvim-treesitter.configs") local configs = require("nvim-treesitter.configs")
configs.setup({ configs.setup({
ensure_installed = { "c", "lua", "vim", "vimdoc", "query" }, ensure_installed = { "c", "lua", "vim", "vimdoc", "query" },
sync_install = false, sync_install = false,
auto_install = true, auto_install = true,
highlight = { enable = true, additional_vim_regex_highlighting = false }, highlight = { enable = true, additional_vim_regex_highlighting = false },
indent = { enable = true }, indent = { enable = true },
}) })
end end
} }

View file

@ -1,9 +1,9 @@
return { return {
"folke/which-key.nvim", "folke/which-key.nvim",
event = "VeryLazy", event = "VeryLazy",
init = function() init = function()
vim.o.timeout = true vim.o.timeout = true
vim.o.timeoutlen = 300 vim.o.timeoutlen = 300
end, end,
opts = {} opts = {}
} }