Skip to content

Commit 4da4d08

Browse files
Initial mods init.lua
1 parent fb4030e commit 4da4d08

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

init.lua

Lines changed: 15 additions & 14 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`
@@ -102,7 +102,7 @@ vim.g.have_nerd_font = false
102102
vim.opt.number = true
103103
-- You can also add relative line numbers, to help with jumping.
104104
-- Experiment for yourself to see if you like it!
105-
-- vim.opt.relativenumber = true
105+
vim.opt.relativenumber = true
106106

107107
-- Enable mouse mode, can be useful for resizing splits for example!
108108
vim.opt.mouse = 'a'
@@ -843,13 +843,14 @@ require('lazy').setup({
843843
-- change the command in the config to whatever the name of that colorscheme is.
844844
--
845845
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
846-
'folke/tokyonight.nvim',
846+
-- 'folke/tokyonight.nvim',
847+
'morhetz/gruvbox',
847848
priority = 1000, -- Make sure to load this before all the other start plugins.
848849
init = function()
849850
-- Load the colorscheme here.
850851
-- Like many other themes, this one has different styles, and you could load
851852
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
852-
vim.cmd.colorscheme 'tokyonight-night'
853+
vim.cmd.colorscheme 'gruvbox'
853854

854855
-- You can configure highlights by doing something like:
855856
vim.cmd.hi 'Comment gui=none'
@@ -880,17 +881,17 @@ require('lazy').setup({
880881
-- Simple and easy statusline.
881882
-- You could remove this setup call if you don't like it,
882883
-- and try some other statusline plugin
883-
local statusline = require 'mini.statusline'
884+
-- local statusline = require 'mini.statusline'
884885
-- set use_icons to true if you have a Nerd Font
885-
statusline.setup { use_icons = vim.g.have_nerd_font }
886+
-- statusline.setup { use_icons = vim.g.have_nerd_font }
886887

887888
-- You can configure sections in the statusline by overriding their
888889
-- default behavior. For example, here we set the section for
889890
-- cursor location to LINE:COLUMN
890-
---@diagnostic disable-next-line: duplicate-set-field
891-
statusline.section_location = function()
892-
return '%2l:%-2v'
893-
end
891+
-- @diagnostic disable-next-line: duplicate-set-field
892+
-- statusline.section_location = function()
893+
-- return '%2l:%-2v'
894+
-- end
894895

895896
-- ... and there is more!
896897
-- Check out: https://github.com/echasnovski/mini.nvim
@@ -932,17 +933,17 @@ require('lazy').setup({
932933
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
933934
--
934935
-- require 'kickstart.plugins.debug',
935-
-- require 'kickstart.plugins.indent_line',
936+
require 'kickstart.plugins.indent_line',
936937
-- require 'kickstart.plugins.lint',
937-
-- require 'kickstart.plugins.autopairs',
938-
-- require 'kickstart.plugins.neo-tree',
938+
require 'kickstart.plugins.autopairs',
939+
require 'kickstart.plugins.neo-tree',
939940
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
940941

941942
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
942943
-- This is the easiest way to modularize your config.
943944
--
944945
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
945-
-- { import = 'custom.plugins' },
946+
{ import = 'custom.plugins' },
946947
--
947948
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
948949
-- Or use telescope!

0 commit comments

Comments
 (0)