Compare commits

..

6 commits

Author SHA1 Message Date
c41d64b6e3
checkpoint 2024-06-29 09:23:27 +01:00
65ac818a43
checkpoint 2024-06-29 09:23:27 +01:00
7a6f80cf69
remove README.md 2024-06-29 09:23:27 +01:00
154cbd76a6
checkpoint: document used plugins 2024-06-29 09:23:27 +01:00
587131d09d
chore: upgrade neovim plugins
Upgrade neovim plugins as part of the neovim upgrade to v0.10.0
2024-06-29 09:21:56 +01:00
c7e75819fb
refactor: move ftdetect to the lua directory 2023-09-23 15:02:42 +01:00
6 changed files with 22 additions and 9 deletions

View file

@ -6,8 +6,9 @@ My Neovim configuration for neovim version 0.9.0+.
== Installation
- clone repo or download the latest release
- if you have eisting neovim config you can take a backup of this. Timestamped tar file created in backup dir within the current dir.
1. Clone the repository or download the latest package from the release page.
2. If you have existing neovim configuration you can take a backup of it.
Run the command below to create a timestamped tar archive of your existing config.
```
make backup
```

View file

@ -2,3 +2,4 @@ require("options")
require("plugins")
require("keymappings")
require("autocommands")
require("ftdetect")

View file

@ -0,0 +1 @@
require("ftdetect.jsonnet")

View file

@ -11,7 +11,6 @@ bufferline.setup{
color_icons = true,
show_buffer_icons = true,
show_buffer_close_icons = false,
show_buffer_default_icon = true,
show_close_icon = false,
show_tab_indicators = true,
separator_style = "slant",
@ -29,5 +28,9 @@ bufferline.setup{
numbers = function(opts)
return string.format("[%s]%s", opts.id, opts.raise(opts.ordinal))
end,
get_element_icon = function(element)
local icon, hl = require('nvim-web-devicons').get_icon_by_filetype(element.filetype, { default = false })
return icon, hl
end,
}
}

View file

@ -6,8 +6,9 @@ vim.opt.runtimepath:prepend(lazypath)
local plugins = {
{
-- Source: https://github.com/folke/tokyonight.nvim
"folke/tokyonight.nvim",
tag = "v2.1.0", -- 2023-08-29
tag = "v3.0.1", -- 2024-01-21
priority = 1000,
config = function()
require("plugins.config.tokyonight")
@ -17,15 +18,17 @@ local plugins = {
end,
},
{
-- Source: https://github.com/neovim/nvim-lspconfig
"neovim/nvim-lspconfig",
commit = "10fa01d553ce10646350461ac5ddc71f189e9d1a", -- 2023-04-10
tag = "v0.1.8", -- 2024-05-21
config = function()
require("plugins.config.lsp")
end,
},
{
-- Source: https://github.com/nvim-treesitter/nvim-treesitter
"nvim-treesitter/nvim-treesitter",
commit = "cc360a9beb1b30d172438f640e2c3450358c4086", -- 2023-04-10
commit = "f0e3b5c5fe38d0012c63368db90017fef87c85a2", -- 2024-06-29
config = function()
require("plugins.config.treesitter")
end,
@ -34,12 +37,14 @@ local plugins = {
end,
},
{
-- Source: https://github.com/nvim-tree/nvim-web-devicons
"nvim-tree/nvim-web-devicons",
commit = "f16ec8f6e5d23e4349501dae46e0a661918e086e", -- 2023-04-08
commit = "c0cfc1738361b5da1cd0a962dd6f774cc444f856", -- 2024-06-09
},
{
-- Source: https://github.com/akinsho/bufferline.nvim
"akinsho/bufferline.nvim",
tag = "v3.6.0", -- 2023.03.30
tag = "v4.6.1", -- 2024.05.21
dependencies = {
"nvim-tree/nvim-web-devicons",
},
@ -48,6 +53,7 @@ local plugins = {
end,
},
{
-- Source: https://github.com/is0n/tui-nvim
"is0n/tui-nvim",
commit = "2eeff3ac921f53bdb837d23d6e4501d97807994c", -- 2022.05.07
config = function()
@ -55,8 +61,9 @@ local plugins = {
end,
},
{
-- Source: https://github.com/mfussenegger/nvim-lint
"mfussenegger/nvim-lint",
commit = "67f74e630a84ecfa73a82783c487bdedd8cecdc3", -- 2023.09.21
commit = "efc6fc83f0772283e064c53a8f9fb5645bde0bc0", -- 2024.06.26
config = function()
require("plugins.config.lint")
end,