summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorkkard2 <[email protected]>2024-05-15 13:01:34 +0200
committerkkard2 <[email protected]>2024-05-28 20:22:06 +0200
commit21ea918c1093fbe1feb17ca9ec2cab86f565ed8c (patch)
treedc92e66dccb8aea6972217ecb337f59c553820c7 /nvim
parent5253afbd087e1eec5cb9533ae1ac59780503f0c6 (diff)
<leader>lf
Diffstat (limited to 'nvim')
-rw-r--r--nvim/init.lua15
1 files changed, 9 insertions, 6 deletions
diff --git a/nvim/init.lua b/nvim/init.lua
index 766585c..7d8aaef 100644
--- a/nvim/init.lua
+++ b/nvim/init.lua
@@ -24,7 +24,7 @@ vim.opt.scrolloff = 2
vim.opt.colorcolumn = "80,100,120"
-vim.api.nvim_create_autocmd({"BufEnter"}, {
+vim.api.nvim_create_autocmd({ "BufEnter" }, {
callback = function()
vim.cmd("set formatoptions-=r")
vim.cmd("set formatoptions-=o")
@@ -408,12 +408,15 @@ require("lazy").setup({
return ""
end
- local file_name = harpoon_file_path == "" and "(empty)" or vim.fn.fnamemodify(harpoon_file_path, ':t')
+ local file_name = harpoon_file_path == "" and "(empty)" or
+ vim.fn.fnamemodify(harpoon_file_path, ':t')
if current_file_path == harpoon_file_path then
- contents[index] = string.format("%%#HarpoonNumberActive# [%s] %%#HarpoonActive#%s ", index, file_name)
+ contents[index] = string.format("%%#HarpoonNumberActive# [%s] %%#HarpoonActive#%s ", index,
+ file_name)
else
- contents[index] = string.format("%%#HarpoonNumberInactive# [%s] %%#HarpoonInactive#%s ", index, file_name)
+ contents[index] = string.format("%%#HarpoonNumberInactive# [%s] %%#HarpoonInactive#%s ", index,
+ file_name)
end
end
@@ -441,8 +444,8 @@ require("lazy").setup({
"lewis6991/gitsigns.nvim",
opts = {
signs = {
- add = { text = '+' },
- change = { text = '~' },
+ add = { text = '+' },
+ change = { text = '~' },
-- delete = { text = '_' },
-- topdelete = { text = '‾' },
-- changedelete = { text = '~' },