updated kickstart configuration
This commit is contained in:
@@ -96,7 +96,7 @@ require('lazy').setup({
|
||||
},
|
||||
|
||||
{
|
||||
-- Autocompletion
|
||||
-- Autocompletion
|
||||
'hrsh7th/nvim-cmp',
|
||||
dependencies = {
|
||||
-- Snippet Engine & its associated nvim-cmp source
|
||||
@@ -152,6 +152,7 @@ require('lazy').setup({
|
||||
},
|
||||
},
|
||||
|
||||
--[[
|
||||
{
|
||||
-- Theme inspired by Atom
|
||||
'navarasu/onedark.nvim',
|
||||
@@ -160,6 +161,17 @@ require('lazy').setup({
|
||||
vim.cmd.colorscheme 'onedark'
|
||||
end,
|
||||
},
|
||||
--]]
|
||||
|
||||
{
|
||||
--Catppuccin
|
||||
'catppuccin/nvim',
|
||||
name = 'catppuccin',
|
||||
priority = 1000,
|
||||
config = function()
|
||||
vim.cmd.colorscheme 'catppuccin-macchiato'
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
-- Set lualine as statusline
|
||||
@@ -237,7 +249,7 @@ require('lazy').setup({
|
||||
-- NOTE: You can change these options as you wish!
|
||||
|
||||
-- Set highlight on search
|
||||
vim.o.hlsearch = false
|
||||
vim.o.hlsearch = true
|
||||
|
||||
-- Make line numbers default
|
||||
vim.wo.number = true
|
||||
@@ -273,6 +285,15 @@ vim.o.completeopt = 'menuone,noselect'
|
||||
-- NOTE: You should make sure your terminal supports this
|
||||
vim.o.termguicolors = true
|
||||
|
||||
-- Set default shiftwidth
|
||||
vim.o.shiftwidth = 4
|
||||
vim.o.tabstop = 4
|
||||
|
||||
-- Set transparent background
|
||||
vim.cmd [[
|
||||
hi Normal guibg=None
|
||||
]]
|
||||
|
||||
-- [[ Basic Keymaps ]]
|
||||
|
||||
-- Keymaps for better default experience
|
||||
@@ -512,8 +533,8 @@ require('mason-lspconfig').setup()
|
||||
-- define the property 'filetypes' to the map in question.
|
||||
local servers = {
|
||||
-- clangd = {},
|
||||
-- gopls = {},
|
||||
-- pyright = {},
|
||||
gopls = {},
|
||||
pyright = {},
|
||||
-- rust_analyzer = {},
|
||||
-- tsserver = {},
|
||||
-- html = { filetypes = { 'html', 'twig', 'hbs'} },
|
||||
|
||||
Reference in New Issue
Block a user