chore: drop redundant config
This commit is contained in:
@@ -6,7 +6,6 @@ vim.g.loaded_netrw = 1
|
|||||||
vim.g.loaded_netrwPlugin = 1
|
vim.g.loaded_netrwPlugin = 1
|
||||||
|
|
||||||
-- general
|
-- general
|
||||||
vim.o.backup = false
|
|
||||||
vim.o.mouse = ""
|
vim.o.mouse = ""
|
||||||
-- TODO:(janezicmatej) i think mouse scroll is binded to up/down and this
|
-- TODO:(janezicmatej) i think mouse scroll is binded to up/down and this
|
||||||
-- deosn't always work
|
-- deosn't always work
|
||||||
@@ -14,7 +13,6 @@ vim.o.mousescroll = "ver:0,hor:0"
|
|||||||
vim.o.writebackup = false
|
vim.o.writebackup = false
|
||||||
vim.o.undofile = true
|
vim.o.undofile = true
|
||||||
vim.o.updatetime = 250
|
vim.o.updatetime = 250
|
||||||
vim.o.timeout = true
|
|
||||||
vim.o.timeoutlen = 300
|
vim.o.timeoutlen = 300
|
||||||
|
|
||||||
-- ui
|
-- ui
|
||||||
@@ -30,7 +28,6 @@ vim.o.wrap = false
|
|||||||
vim.o.winborder = "double"
|
vim.o.winborder = "double"
|
||||||
|
|
||||||
-- editing
|
-- editing
|
||||||
vim.o.autoindent = true
|
|
||||||
vim.o.expandtab = true
|
vim.o.expandtab = true
|
||||||
vim.o.ignorecase = true
|
vim.o.ignorecase = true
|
||||||
vim.o.smartcase = true
|
vim.o.smartcase = true
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
MiniDeps.now(function()
|
MiniDeps.now(function()
|
||||||
require("mini.icons").setup()
|
require("mini.icons").setup()
|
||||||
MiniIcons.mock_nvim_web_devicons()
|
|
||||||
MiniIcons.tweak_lsp_kind()
|
MiniIcons.tweak_lsp_kind()
|
||||||
end)
|
end)
|
||||||
|
|||||||
@@ -1,13 +1 @@
|
|||||||
MiniDeps.later(function()
|
MiniDeps.later(function() require("mini.snippets").setup() end)
|
||||||
local gen_loader = require("mini.snippets").gen_loader
|
|
||||||
require("mini.snippets").setup({
|
|
||||||
snippets = {
|
|
||||||
-- Load custom file with global snippets first (adjust for Windows)
|
|
||||||
gen_loader.from_file("~/.config/nvim/snippets/global.json"),
|
|
||||||
|
|
||||||
-- Load snippets based on current language by reading files from
|
|
||||||
-- "snippets/" subdirectories from 'runtimepath' directories.
|
|
||||||
gen_loader.from_lang(),
|
|
||||||
},
|
|
||||||
})
|
|
||||||
end)
|
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ local now_if_args = vim.fn.argc(-1) > 0 and MiniDeps.now or MiniDeps.later
|
|||||||
now_if_args(function()
|
now_if_args(function()
|
||||||
MiniDeps.add({
|
MiniDeps.add({
|
||||||
source = "nvim-treesitter/nvim-treesitter",
|
source = "nvim-treesitter/nvim-treesitter",
|
||||||
checkout = "main",
|
|
||||||
hooks = { post_checkout = function() vim.cmd("TSUpdate") end },
|
hooks = { post_checkout = function() vim.cmd("TSUpdate") end },
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user