Skip to content

Working on setting up config #1620

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 37 additions & 5 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper win
-- vim.keymap.set("n", "<C-S-j>", "<C-w>J", { desc = "Move window to the lower" })
-- vim.keymap.set("n", "<C-S-k>", "<C-w>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`

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -475,6 +491,8 @@ require('lazy').setup({
},
},
},
{ 'hrsh7th/nvim-cmp' },
{ 'hrsh7th/cmp-nvim-lsp' },
{
-- Main LSP Configuration
'neovim/nvim-lspconfig',
Expand Down Expand Up @@ -561,7 +579,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('<leader>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.
Expand Down Expand Up @@ -671,7 +689,9 @@ 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 = {
capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities),
},
-- gopls = {},
-- pyright = {},
-- rust_analyzer = {},
Expand Down Expand Up @@ -844,7 +864,7 @@ require('lazy').setup({
appearance = {
-- 'mono' (default) for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
-- Adjusts spacing to ensure icons are aligned
nerd_font_variant = 'mono',
nerd_font_variant = 'normal',
},

completion = {
Expand Down Expand Up @@ -894,9 +914,21 @@ require('lazy').setup({
-- Load the colorscheme here.
-- Like many other themes, this one has different styles, and you could load
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
vim.cmd.colorscheme 'tokyonight-night'
--vim.cmd.colorscheme 'tokyonight-night'
end,
},
{ 'rose-pine/neovim', name = 'rose-pine' },
{
'rebelot/kanagawa.nvim',
priority = 1000, -- Make sure to load this before all the other start plugins.
config = function()
require('kanagawa').setup {}
vim.cmd.colorscheme 'kanagawa-wave'
end,
},
{ 'Mofiqul/dracula.nvim' },
{ 'AlexvZyl/nordic.nvim' },
{ 'ribru17/bamboo.nvim' },

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