own changes

This commit is contained in:
dragos.ismana 2024-02-03 13:06:46 +01:00
parent bbb6ddd003
commit 1675528498
4 changed files with 48 additions and 44 deletions

View file

@ -44,6 +44,8 @@ P.S. You can delete this when you're done too. It's your config now :)
vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
vim.opt.rnu = true
-- [[ Install `lazy.nvim` plugin manager ]]
-- https://github.com/folke/lazy.nvim
-- `:help lazy.nvim.txt` for more info
@ -88,7 +90,7 @@ require('lazy').setup({
-- Useful status updates for LSP
-- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})`
{ 'j-hui/fidget.nvim', opts = {} },
{ 'j-hui/fidget.nvim', opts = {} },
-- Additional lua configuration, makes nvim stuff amazing!
'folke/neodev.nvim',
@ -113,7 +115,7 @@ require('lazy').setup({
},
-- Useful plugin to show you pending keybinds.
{ 'folke/which-key.nvim', opts = {} },
{ 'folke/which-key.nvim', opts = {} },
{
-- Adds git related signs to the gutter, as well as utilities for managing changes
'lewis6991/gitsigns.nvim',
@ -189,19 +191,16 @@ require('lazy').setup({
},
},
--[[{
{
-- Theme inspired by Atom
'navarasu/onedark.nvim',
priority = 1000,
config = function()
vim.cmd.colorscheme 'onedark'
require('onedark').setup {
style = 'dark'
}
require('onedark').load()
end,
},]]--
{ "catppuccin/nvim", name = "catppuccin", priority = 1000,
config = function()
vim.cmd.colorscheme 'catppuccin'
end
},
{
@ -211,7 +210,7 @@ require('lazy').setup({
opts = {
options = {
icons_enabled = false,
theme = 'catppuccin',
theme = 'onedark',
component_separators = '|',
section_separators = '',
},
@ -249,7 +248,6 @@ require('lazy').setup({
},
},
},
{
-- Highlight, edit, and navigate code
'nvim-treesitter/nvim-treesitter',
@ -262,8 +260,8 @@ require('lazy').setup({
-- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart
-- These are some example plugins that I've included in the kickstart repository.
-- Uncomment any of the lines below to enable them.
-- require 'kickstart.plugins.autoformat',
-- require 'kickstart.plugins.debug',
require 'kickstart.plugins.autoformat',
require 'kickstart.plugins.debug',
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
-- You can use this folder to prevent any conflicts with this init.lua if you're interested in keeping
@ -579,6 +577,14 @@ local servers = {
-- rust_analyzer = {},
-- tsserver = {},
-- html = { filetypes = { 'html', 'twig', 'hbs'} },
csharp_ls = {
filetypes = { 'csharp', 'cs' },
settings = {
csharp = {
enableRoslynAnalyzers = true,
},
},
},
lua_ls = {
Lua = {