Skip to content

Commit 0bc0240

Browse files
committed
Working on setting up config
1 parent 3338d39 commit 0bc0240

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

init.lua

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,11 @@ vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper win
205205
-- vim.keymap.set("n", "<C-S-j>", "<C-w>J", { desc = "Move window to the lower" })
206206
-- vim.keymap.set("n", "<C-S-k>", "<C-w>K", { desc = "Move window to the upper" })
207207

208+
-- Set Tab Size to 4
209+
vim.opt.tabstop = 4
210+
vim.opt.softtabstop = 4
211+
vim.opt.shiftwidth = 4
212+
208213
-- [[ Basic Autocommands ]]
209214
-- See `:help lua-guide-autocommands`
210215

@@ -234,6 +239,9 @@ end
234239
local rtp = vim.opt.rtp
235240
rtp:prepend(lazypath)
236241

242+
local shiftwidth = 4
243+
local tabstop = 4
244+
237245
-- [[ Configure and install plugins ]]
238246
--
239247
-- To check the current status of your plugins, run
@@ -283,7 +291,15 @@ require('lazy').setup({
283291
},
284292
},
285293
},
286-
294+
{
295+
'tpope/vim-dispatch',
296+
},
297+
{
298+
'zadirion/Unreal.nvim',
299+
requires = {
300+
{ 'tpope/vim-dispatch' },
301+
},
302+
},
287303
-- NOTE: Plugins can also be configured to run Lua code when they are loaded.
288304
--
289305
-- This is often very useful to both group configuration, as well as handle
@@ -561,7 +577,7 @@ require('lazy').setup({
561577

562578
-- Fuzzy find all the symbols in your current document.
563579
-- Symbols are things like variables, functions, types, etc.
564-
map('gO', require('telescope.builtin').lsp_document_symbols, 'Open Document Symbols')
580+
map('<leader>ds', require('telescope.builtin').lsp_document_symbols, 'Open Document Symbols')
565581

566582
-- Fuzzy find all the symbols in your current workspace.
567583
-- Similar to document symbols, except searches over your entire project.
@@ -671,7 +687,7 @@ require('lazy').setup({
671687
-- - settings (table): Override the default settings passed when initializing the server.
672688
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
673689
local servers = {
674-
-- clangd = {},
690+
clangd = {},
675691
-- gopls = {},
676692
-- pyright = {},
677693
-- rust_analyzer = {},
@@ -897,6 +913,7 @@ require('lazy').setup({
897913
vim.cmd.colorscheme 'tokyonight-night'
898914
end,
899915
},
916+
{ 'rose-pine/neovim', name = 'rose-pine' },
900917

901918
-- Highlight todo, notes, etc in comments
902919
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },

0 commit comments

Comments
 (0)