diff --git a/init.lua b/init.lua index b98ffc61..0d558624 100644 --- a/init.lua +++ b/init.lua @@ -205,6 +205,11 @@ vim.keymap.set('n', '', '', { desc = 'Move focus to the upper win -- vim.keymap.set("n", "", "J", { desc = "Move window to the lower" }) -- vim.keymap.set("n", "", "K", { desc = "Move window to the upper" }) +-- Set Tab Size to 4 +vim.opt.tabstop = 4 +vim.opt.softtabstop = 4 +vim.opt.shiftwidth = 4 + -- [[ Basic Autocommands ]] -- See `:help lua-guide-autocommands` @@ -234,6 +239,9 @@ end local rtp = vim.opt.rtp rtp:prepend(lazypath) +local shiftwidth = 4 +local tabstop = 4 + -- [[ Configure and install plugins ]] -- -- To check the current status of your plugins, run @@ -283,7 +291,15 @@ require('lazy').setup({ }, }, }, - + { + 'tpope/vim-dispatch', + }, + { + 'zadirion/Unreal.nvim', + requires = { + { 'tpope/vim-dispatch' }, + }, + }, -- NOTE: Plugins can also be configured to run Lua code when they are loaded. -- -- This is often very useful to both group configuration, as well as handle @@ -561,7 +577,7 @@ require('lazy').setup({ -- Fuzzy find all the symbols in your current document. -- Symbols are things like variables, functions, types, etc. - map('gO', require('telescope.builtin').lsp_document_symbols, 'Open Document Symbols') + map('ds', require('telescope.builtin').lsp_document_symbols, 'Open Document Symbols') -- Fuzzy find all the symbols in your current workspace. -- Similar to document symbols, except searches over your entire project. @@ -671,7 +687,7 @@ require('lazy').setup({ -- - settings (table): Override the default settings passed when initializing the server. -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/ local servers = { - -- clangd = {}, + clangd = {}, -- gopls = {}, -- pyright = {}, -- rust_analyzer = {}, @@ -897,6 +913,7 @@ require('lazy').setup({ vim.cmd.colorscheme 'tokyonight-night' end, }, + { 'rose-pine/neovim', name = 'rose-pine' }, -- Highlight todo, notes, etc in comments { 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },