mirror of
https://codeberg.org/diginaut/dotfiles.git
synced 2026-02-04 14:40:27 +01:00
Compare commits
6 Commits
c3a8f16c53
...
e5b2f83f7b
| Author | SHA1 | Date | |
|---|---|---|---|
| e5b2f83f7b | |||
| 105d3273fb | |||
| 292c44448f | |||
| f9afaad121 | |||
| 7c5962f7f3 | |||
| 99152ac85c |
@@ -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
|
||||
|
||||
@@ -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",
|
||||
colorscheme = "bebop",
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
5
.config/nvim/lua/plugins/markdown-plus.lua
Normal file
5
.config/nvim/lua/plugins/markdown-plus.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"yousefhadder/markdown-plus.nvim",
|
||||
ft = "markdown",
|
||||
opts = {},
|
||||
}
|
||||
8
.config/nvim/lua/plugins/telescope.lua
Normal file
8
.config/nvim/lua/plugins/telescope.lua
Normal 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" },
|
||||
},
|
||||
}
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user