mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-08 16:34:26 +02:00
update
This commit is contained in:
parent
4898634bfc
commit
f9ed77e425
4 changed files with 37 additions and 25 deletions
|
@ -31,12 +31,17 @@ bufferline.setup({
|
|||
options = {
|
||||
color_icons = true,
|
||||
numbers = "none", -- | "ordinal" | "buffer_id" | "both" | function({ ordinal, id, lower, raise }): string,
|
||||
close_command = function(bufnum)
|
||||
require("bufdelete").bufdelete(bufnum, true)
|
||||
end,
|
||||
right_mouse_command = function(bufnum)
|
||||
require("bufdelete").bufdelete(bufnum, true)
|
||||
end,
|
||||
-- close_command = function(bufnum)
|
||||
-- require("bufdelete").bufdelete(bufnum, true)
|
||||
-- end,
|
||||
-- right_mouse_command = function(bufnum)
|
||||
-- require("bufdelete").bufdelete(bufnum, true)
|
||||
-- end,
|
||||
close_command = "bdelete! %d",
|
||||
right_mouse_command = "bdelete! %d",
|
||||
left_mouse_command = "buffer %d",
|
||||
middle_mouse_command = nil,
|
||||
|
||||
indicator_icon = nil,
|
||||
indicator = { style = "icon", icon = "▎" },
|
||||
buffer_close_icon = icons.ui.Close,
|
||||
|
|
|
@ -6,7 +6,8 @@ end
|
|||
local rfile = {
|
||||
java = "cd $dir && javac $fileName && java $fileNameWithoutExt",
|
||||
python = "python3 -u",
|
||||
typescript = "deno run",
|
||||
--typescript = "deno run",
|
||||
typescript = "ts-node $dir/$fileName", -- npm install -g ts-node
|
||||
rust = "cd $dir && rustc $fileName && $dir/$fileNameWithoutExt",
|
||||
-- cpp="gcc $fileName -lstdc++ -o $fileNameWithoutExt && $fileNameWithoutExt"
|
||||
cpp = "g++ $fileName -o $fileNameWithoutExt && $dir/$fileNameWithoutExt",
|
||||
|
|
|
@ -15,6 +15,12 @@ material_icon.setup({
|
|||
cterm_color = "220",
|
||||
name = "Mjs",
|
||||
},
|
||||
["ts"] = {
|
||||
icon = "",
|
||||
color = "#30A2FF",
|
||||
cterm_color = "220",
|
||||
name = "ts",
|
||||
},
|
||||
},
|
||||
color_icons = true,
|
||||
default = true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue