Stylua formatting pass
This commit is contained in:
parent
9afe8567fd
commit
2be2aaf8bc
2
init.lua
2
init.lua
|
@ -43,7 +43,7 @@ require("lazy").setup {
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Set vim options
|
-- Set vim options
|
||||||
vim.cmd([[colorscheme tokyonight]])
|
vim.cmd [[colorscheme tokyonight]]
|
||||||
vim.opt.laststatus = 3
|
vim.opt.laststatus = 3
|
||||||
vim.opt.showtabline = 1
|
vim.opt.showtabline = 1
|
||||||
vim.opt.shiftwidth = 4
|
vim.opt.shiftwidth = 4
|
||||||
|
|
|
@ -10,6 +10,6 @@ return {
|
||||||
"folke/tokyonight.nvim",
|
"folke/tokyonight.nvim",
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
theme = 'tokyonight',
|
theme = "tokyonight",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
return {
|
return {
|
||||||
"dccsillag/magma-nvim",
|
"dccsillag/magma-nvim",
|
||||||
event = { "BufReadPre", "BufNewFile" }
|
event = { "BufReadPre", "BufNewFile" },
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,9 +15,7 @@ return {
|
||||||
vim.keymap.set("n", "<leader>nb", "<cmd>Neotree toggle show buffers right<cr>")
|
vim.keymap.set("n", "<leader>nb", "<cmd>Neotree toggle show buffers right<cr>")
|
||||||
if vim.fn.argc() == 1 then
|
if vim.fn.argc() == 1 then
|
||||||
local stat = vim.loop.fs_stat(vim.fn.argv(0))
|
local stat = vim.loop.fs_stat(vim.fn.argv(0))
|
||||||
if stat and stat.type == "directory" then
|
if stat and stat.type == "directory" then require "neo-tree" end
|
||||||
require("neo-tree")
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
config = true,
|
config = true,
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
return {
|
return {
|
||||||
'folke/tokyonight.nvim',
|
"folke/tokyonight.nvim",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
opts = {
|
opts = {
|
||||||
transparent = false,
|
transparent = false,
|
||||||
styles = { sidebars = "normal", floats = "transparent", }
|
styles = { sidebars = "normal", floats = "transparent" },
|
||||||
},
|
},
|
||||||
config = true,
|
config = true,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue