Skip to content

Commit

Permalink
feat(nvim): local plugin setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Sep 19, 2024
1 parent d32e089 commit 1b51db0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
3 changes: 3 additions & 0 deletions .config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ vim.opt.rtp:prepend(lazypath)

require("lazy").setup({
checker = { enabled = true },
dev = {
path = "~/Developer",
},
install = { colorscheme = { "rsms" } },
spec = {
{ import = "plugins" },
Expand Down
2 changes: 1 addition & 1 deletion .config/nvim/lazy-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" },
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" },
"telescope.nvim": { "branch": "master", "commit": "0df05c9e9f791dbc542c1fb612195f4dc97209b6" },
"telescope.nvim": { "branch": "master", "commit": "b5fd7f7ae0ea4537511077ed8ef4a6021cedba2f" },
"trouble.nvim": { "branch": "main", "commit": "6efc446226679fda0547c0fd6a7892fd5f5b15d8" },
"ts-comments.nvim": { "branch": "main", "commit": "98d7d4dec0af1312d38e288f800bbf6ff562b6ab" },
"twoslash-queries.nvim": { "branch": "main", "commit": "b92622c7b71eceefabd02eef24236041069904b1" },
Expand Down
22 changes: 12 additions & 10 deletions .config/nvim/lua/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,7 @@ local have_make = vim.fn.executable("make") == 1
local have_cmake = vim.fn.executable("cmake") == 1

return {
{
dir = "~/Developer/rsms",
lazy = false,
priority = 1000,
config = function()
vim.cmd([[colorscheme rsms]])
end,
},

-- conform.nvim
-- conform.nvim (https://github.com/stevearc/conform.nvim)
{
"stevearc/conform.nvim",
dependencies = { "mason.nvim" },
Expand Down Expand Up @@ -1819,6 +1810,17 @@ return {
},
},

-- rsms (https://github.com/tmm/rsms)
{
"tmm/rsms",
dev = true,
lazy = false,
priority = 1000,
config = function()
vim.cmd([[colorscheme rsms]])
end,
},

-- telescope (https://github.com/nvim-telescope/telescope.nvim)
{
"nvim-telescope/telescope.nvim",
Expand Down

0 comments on commit 1b51db0

Please sign in to comment.