show only currnet line number

This commit is contained in:
jujekebab 2026-01-21 13:56:06 +09:00
parent 8df9533a7b
commit 20035ad333
1 changed files with 5 additions and 6 deletions

View File

@ -39,11 +39,9 @@ vim.g.have_nerd_font = true
-- NOTE: You can change these options as you wish! -- NOTE: You can change these options as you wish!
-- For more options, you can see `:help option-list` -- For more options, you can see `:help option-list`
-- Make line numbers default -- Only show line number on current line
vim.o.number = true vim.o.number = true
-- You can also add relative line numbers, to help with jumping. vim.o.statuscolumn = '%{v:relnum == 0 ? v:lnum : ""}'
-- Experiment for yourself to see if you like it!
-- vim.o.relativenumber = true
-- Enable mouse mode, can be useful for resizing splits for example! -- Enable mouse mode, can be useful for resizing splits for example!
vim.o.mouse = 'a' vim.o.mouse = 'a'
@ -635,8 +633,9 @@ require('lazy').setup({
completion = { completion = {
callSnippet = 'Replace', callSnippet = 'Replace',
}, },
-- You can toggle below to ignore Lua_LS's noisy `missing-fields` warnings diagnostics = {
-- diagnostics = { disable = { 'missing-fields' } }, globals = { 'vim' },
},
}, },
}, },
}, },