This commit is contained in:
Tawfeeq 2024-09-20 23:47:43 +02:00
parent 7a26e6c951
commit 1f8a7a4eda
15 changed files with 110 additions and 232 deletions

View file

@ -92,7 +92,9 @@ I hope you enjoy your Neovim journey,
P.S. You can delete this when you're done too. It's your config now! :)
--]]
-- vim.api.nvim_set_hl(0, 'ReturnKeyword', { fg = '#FF0000', bold = true })
-- Your existing Neovim configurations..
vim.lsp.inlay_hint.enable()
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
vim.opt.softtabstop = 4
@ -767,7 +769,7 @@ require('lazy').setup({
dependencies = {
-- `friendly-snippets` contains a variety of premade snippets.
-- See the README about individual language/framework/plugin snippets:
-- https://github.com/rafamadriz/friendly-snippets
-- https://github.com/rafamadriz/friendly-snippetjs
-- {
-- 'rafamadriz/friendly-snippets',
-- config = function()
@ -875,9 +877,9 @@ 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 'kanagawa'
-- vim.cmd.colorscheme 'tokyonight'
-- vim.cmd.colorscheme 'kanagawa'
-- vim.cmd.colorscheme 'obscure'
vim.cmd.colorscheme 'rose-pine'
-- You can configure highlights by doing something like:
vim.cmd.hi 'Comment gui=none'
end,
@ -927,7 +929,23 @@ require('lazy').setup({
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate',
opts = {
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },
ensure_installed = {
'bash',
'c',
'diff',
'html',
'lua',
'luadoc',
'markdown',
'markdown_inline',
'query',
'vim',
'vimdoc',
'c_sharp',
'python',
'typescript',
'javascript',
},
-- Autoinstall languages that are not installed
auto_install = true,
highlight = {
@ -938,10 +956,13 @@ require('lazy').setup({
additional_vim_regex_highlighting = { 'ruby' },
},
indent = { enable = true, disable = { 'ruby' } },
-- custom_captures = {
-- -- Highlight the `return` keyword with the `ReturnKeyword` group
-- ['@keyword.return'] = 'ReturnKeyword',
-- },
},
config = function(_, opts)
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
-- Prefer git instead of curl in order to improve connectivity in some environments
require('nvim-treesitter.install').prefer_git = true
---@diagnostic disable-next-line: missing-fields
@ -964,7 +985,6 @@ require('lazy').setup({
--
-- Here are some example plugins that I've included in the Kickstart repository.
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
--
require 'kickstart.plugins.debug',
require 'kickstart.plugins.indent_line',
require 'kickstart.plugins.lint',
@ -999,6 +1019,5 @@ require('lazy').setup({
},
},
})
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et