1
0
mirror of https://codeberg.org/diginaut/dotfiles.git synced 2026-02-04 06:40:25 +01:00

Compare commits

...

6 Commits

5 changed files with 78 additions and 11 deletions

View File

@@ -12,5 +12,6 @@ vim.opt.smartindent = true -- smart indentation
vim.opt.termguicolors = true -- true color support
vim.opt.clipboard = "unnamedplus" -- system clipboard
-- vim.opt.smoothscroll = true
vim.opt.conceallevel = 0
-- Colorscheme is set in its plugin file

View File

@@ -1,13 +1,14 @@
return {
{ "folke/tokyonight.nvim" },
{ "rebelot/kanagawa.nvim" },
{ "Shatur/neovim-ayu" },
-- { "folke/tokyonight.nvim" },
-- { "rebelot/kanagawa.nvim" },
-- { "Shatur/neovim-ayu" },
{ "ATTron/bebop.nvim" },
-- Configure LazyVim to load our favourite colorscheme
{
"LazyVim/LazyVim",
opts = {
colorscheme = "kanagawa-dragon",
},
}
-- Configure LazyVim to load our favourite colorscheme
{
"LazyVim/LazyVim",
opts = {
colorscheme = "bebop",
},
},
}

View File

@@ -0,0 +1,5 @@
return {
"yousefhadder/markdown-plus.nvim",
ft = "markdown",
opts = {},
}

View File

@@ -0,0 +1,8 @@
return {
"nvim-telescope/telescope.nvim",
dependencies = { "nvim-lua/plenary.nvim" },
keys = {
{ "<leader>ff", "<cmd>Telescope find_files<cr>", desc = "Find Files" },
{ "<leader>fg", "<cmd>Telescope live_grep<cr>", desc = "Live Grep" },
},
}

View File

@@ -1,5 +1,57 @@
return {
"nvim-treesitter/nvim-treesitter",
lazy = false,
lazy = false, -- Keep false to ensure loading for Neo-tree
build = ":TSUpdate",
config = function()
local treesitter = require("nvim-treesitter")
treesitter.setup()
treesitter.install({
"java",
"c",
"lua",
"vim",
"vimdoc",
"query",
-- "elixir",
-- "heex",
"markdown",
"markdown_inline",
"bash",
"javascript",
"typescript",
"html",
"toml",
"yaml",
})
vim.api.nvim_create_autocmd("FileType", {
pattern = {
"java",
"c",
"lua",
"vim",
"vimdoc",
"query",
-- "elixir",
-- "heex",
"markdown",
"markdown_inline",
"bash",
"javascript",
"typescript",
"html",
"toml",
"yaml",
},
callback = function()
-- syntax highlighting, provided by Neovim
vim.treesitter.start()
-- folds, provided by Neovim (I don't like folds)
-- vim.wo.foldexpr = 'v:lua.vim.treesitter.foldexpr()'
-- vim.wo.foldmethod = 'expr'
-- indentation, provided by nvim-treesitter
vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()"
end,
})
end,
}