Compare commits

...

5 commits

Author SHA1 Message Date
49f55400d0
Revert "colorscheme: use borderless telescope"
This reverts commit ce9dffb286.
2024-06-16 06:51:01 +08:00
d7a985bb4b
comment: lazyload 2024-06-16 06:44:21 +08:00
4064e9210e
indentlines: lazyload 2024-06-16 06:44:13 +08:00
ffbb277cfc
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9a9a7552431c4f1a3b2eee9398641babf7c30d0e' (2024-03-12)
  → 'github:NixOS/nixpkgs/3f84a279f1a6290ce154c5531378acc827836fbb' (2024-06-13)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/720322c5352d7b7bd2cb3601a9176b0e91d1de7d' (2024-03-10)
  → 'github:numtide/treefmt-nix/e75ba0a6bb562d2ce275db28f6a36a2e4fd81391' (2024-06-13)
2024-06-16 06:31:19 +08:00
0470222a98
telescope: add lazy cmd 2024-06-16 06:30:41 +08:00
5 changed files with 9 additions and 42 deletions

View file

@ -22,11 +22,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1710222005,
"narHash": "sha256-irXySffHz7b82dZIme6peyAu+8tTJr1zyxcfUPhqUrg=",
"lastModified": 1718276985,
"narHash": "sha256-u1fA0DYQYdeG+5kDm1bOoGcHtX0rtC7qs2YA2N1X++I=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "9a9a7552431c4f1a3b2eee9398641babf7c30d0e",
"rev": "3f84a279f1a6290ce154c5531378acc827836fbb",
"type": "github"
},
"original": {
@ -66,11 +66,11 @@
]
},
"locked": {
"lastModified": 1710088047,
"narHash": "sha256-eSqKs6ZCsX9xJyNYLeMDMrxzIDsYtaWClfZCOp0ok6Y=",
"lastModified": 1718271476,
"narHash": "sha256-35hUMmFesmchb+u7heKHLG5B6c8fBOcSYo0jj0CHLes=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "720322c5352d7b7bd2cb3601a9176b0e91d1de7d",
"rev": "e75ba0a6bb562d2ce275db28f6a36a2e4fd81391",
"type": "github"
},
"original": {

View file

@ -2,41 +2,7 @@ return {
"folke/tokyonight.nvim",
lazy = false,
priority = 1000,
opts = {
-- Borderless telescope
-- see: https://github.com/folke/tokyonight.nvim?tab=readme-ov-file#borderless-telescope-example
on_highlights = function(hl, c)
-- local prompt = "#2d3149"
local prompt = c.bg_highlight
hl.TelescopeNormal = {
bg = c.bg_dark,
fg = c.fg_dark,
}
hl.TelescopeBorder = {
bg = c.bg_dark,
fg = c.bg_dark,
}
hl.TelescopePromptNormal = {
bg = prompt,
}
hl.TelescopePromptBorder = {
bg = prompt,
fg = prompt,
}
hl.TelescopePromptTitle = {
bg = prompt,
fg = prompt,
}
hl.TelescopePreviewTitle = {
bg = c.bg_dark,
fg = c.bg_dark,
}
hl.TelescopeResultsTitle = {
bg = c.bg_dark,
fg = c.bg_dark,
}
end,
},
opts = {},
init = function()
vim.cmd([[ colorscheme tokyonight-night ]])
end,

View file

@ -1,5 +1,4 @@
return {
"numToStr/Comment.nvim",
opts = {},
lazy = false,
}

View file

@ -1,5 +1,6 @@
return {
"lukas-reineke/indent-blankline.nvim",
event = { "BufReadPost" },
main = "ibl",
opts = {
indent = {

View file

@ -5,6 +5,7 @@ return {
"nvim-tree/nvim-web-devicons",
},
opts = {},
cmd = "Telescope",
keys = {
{ "<Space>f", "<cmd>Telescope find_files<CR>", desc = "Find files" },
{ "<Space><Space>", "<cmd>Telescope oldfiles<CR>", desc = "Recent files" },