Skip to content

Commit dfc05a3

Browse files
author
darumo
committed
set personal configuration
1 parent 5bdde24 commit dfc05a3

20 files changed

+7429
-16
lines changed

init.lua

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ vim.g.mapleader = ' '
9191
vim.g.maplocalleader = ' '
9292

9393
-- Set to true if you have a Nerd Font installed and selected in the terminal
94-
vim.g.have_nerd_font = false
94+
vim.g.have_nerd_font = true
9595

9696
-- [[ Setting options ]]
9797
-- See `:help vim.opt`
@@ -245,12 +245,16 @@ require('lazy').setup({
245245
{ -- Adds git related signs to the gutter, as well as utilities for managing changes
246246
'lewis6991/gitsigns.nvim',
247247
opts = {
248+
current_line_blame = true, -- Toggle with `:Gitsigns toggle_current_line_blame`
249+
current_line_blame_opts = {
250+
virt_text_pos = 'right_align', -- 'eol' | 'overlay' | 'right_align'
251+
},
248252
signs = {
249253
add = { text = '+' },
250-
change = { text = '~' },
251-
delete = { text = '_' },
254+
change = { text = 'Ͼ' },
255+
delete = { text = '' },
252256
topdelete = { text = '' },
253-
changedelete = { text = '~' },
257+
changedelete = { text = 'Ͼ' },
254258
},
255259
},
256260
},
@@ -714,10 +718,10 @@ require('lazy').setup({
714718
formatters_by_ft = {
715719
lua = { 'stylua' },
716720
-- Conform can also run multiple formatters sequentially
717-
-- python = { "isort", "black" },
721+
python = { 'isort', 'black' },
718722
--
719723
-- You can use 'stop_after_first' to run the first available formatter from the list
720-
-- javascript = { "prettierd", "prettier", stop_after_first = true },
724+
javascript = { 'prettierd', 'prettier', stop_after_first = true },
721725
},
722726
},
723727
},
@@ -742,12 +746,13 @@ require('lazy').setup({
742746
-- `friendly-snippets` contains a variety of premade snippets.
743747
-- See the README about individual language/framework/plugin snippets:
744748
-- https://github.com/rafamadriz/friendly-snippets
745-
-- {
746-
-- 'rafamadriz/friendly-snippets',
747-
-- config = function()
748-
-- require('luasnip.loaders.from_vscode').lazy_load()
749-
-- end,
750-
-- },
749+
{
750+
'rafamadriz/friendly-snippets',
751+
config = function()
752+
require('luasnip.loaders.from_vscode').lazy_load()
753+
require('luasnip.loaders.from_vscode').lazy_load { paths = { vim.fn.stdpath 'config' .. '/snippets' } }
754+
end,
755+
},
751756
},
752757
},
753758
'saadparwaiz1/cmp_luasnip',
@@ -932,11 +937,11 @@ require('lazy').setup({
932937
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
933938
--
934939
-- require 'kickstart.plugins.debug',
935-
-- require 'kickstart.plugins.indent_line',
936-
-- require 'kickstart.plugins.lint',
940+
require 'kickstart.plugins.indent_line',
941+
require 'kickstart.plugins.lint',
937942
-- require 'kickstart.plugins.autopairs',
938-
-- require 'kickstart.plugins.neo-tree',
939-
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
943+
require 'kickstart.plugins.neo-tree',
944+
require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
940945

941946
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
942947
-- This is the easiest way to modularize your config.

init.vim

Whitespace-only changes.

0 commit comments

Comments
 (0)