changed theme, added C-6 mapping, need to figure out how to load deno or node depending on project
This commit is contained in:
1 parent
aa809c71e6
commit
8456e321a9
5 files changed
+38
-29
No files matched your search
+13
-5
@@ -25,10 +25,10 @@ local config = function()
|
||||
vim.g.markdown_fenced_languages = {
|
||||
"ts=typescript"
|
||||
}
|
||||
require("lspconfig").denols.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
--require("lspconfig").denols.setup {
|
||||
-- on_attach = on_attach,
|
||||
-- capabilities = capabilities,
|
||||
--}
|
||||
require("lspconfig").clangd.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
@@ -45,6 +45,14 @@ local config = function()
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities
|
||||
}
|
||||
require("lspconfig").angularls.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities
|
||||
}
|
||||
require("lspconfig").tsserver.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities
|
||||
}
|
||||
end
|
||||
|
||||
local rs_config = function()
|
||||
@@ -70,7 +78,7 @@ return {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"mfussenegger/nvim-dap",
|
||||
},
|
||||
rs_config = rs_config
|
||||
config = rs_config
|
||||
},
|
||||
{
|
||||
"windwp/nvim-autopairs",
|
||||
|
||||
+11
-14
@@ -1,33 +1,30 @@
|
||||
return {
|
||||
{
|
||||
'nvim-neorg/neorg',
|
||||
tag = '0.0.12',
|
||||
"nvim-neorg/neorg",
|
||||
tag = "0.0.12",
|
||||
config = function()
|
||||
require('neorg').setup {
|
||||
require("neorg").setup {
|
||||
load = {
|
||||
['core.defaults'] = {},
|
||||
['core.norg.concealer'] = {},
|
||||
['core.norg.completion'] = {
|
||||
["core.defaults"] = {},
|
||||
["core.norg.concealer"] = {},
|
||||
["core.norg.completion"] = {
|
||||
config = {
|
||||
engine = 'nvim-cmp'
|
||||
engine = "nvim-cmp"
|
||||
}
|
||||
},
|
||||
['core.export'] = {},
|
||||
["core.export"] = {},
|
||||
}
|
||||
}
|
||||
end,
|
||||
dependencies = 'nvim-lua/plenary.nvim'
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
build = ":Neorg sync-parsers"
|
||||
},
|
||||
{
|
||||
"folke/which-key.nvim",
|
||||
config = function()
|
||||
vim.o.timeout = true
|
||||
vim.o.timeoutlen = 300
|
||||
require("which-key").setup({
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
})
|
||||
require("which-key").setup {}
|
||||
end,
|
||||
},
|
||||
}
|
||||
@@ -1,9 +1,11 @@
|
||||
return {
|
||||
{
|
||||
"navarasu/onedark.nvim",
|
||||
"catppuccin/nvim",
|
||||
config = function()
|
||||
require("onedark").setup { style = "darker" }
|
||||
require("onedark").load()
|
||||
require("catppuccin").setup({
|
||||
transparent_background = true
|
||||
})
|
||||
vim.cmd.colorscheme("catppuccin-mocha")
|
||||
package.loaded["config.theme"] = nil
|
||||
require("config.theme")
|
||||
end
|
||||
@@ -36,7 +38,6 @@ return {
|
||||
end,
|
||||
config = function()
|
||||
require("nvim-treesitter.configs").setup {
|
||||
ensure_installed = { "norg" },
|
||||
highlight = { enable = true }
|
||||
}
|
||||
end,
|
||||
|
||||
Reference in new issue
Block a user