commit 4fd1c6b68421962b5e8818634573360406736eb1
parent 6ed38b24b681994bcc1825ec0ae5ab65fe04a208
Author: Andrew Laack <andrew@laack.co>
Date: Sun, 24 May 2026 20:14:59 -0500
Refactoring, started working on my own plugin
Diffstat:
3 files changed, 19 insertions(+), 40 deletions(-)
diff --git a/lua/core/keymaps.lua b/lua/core/keymaps.lua
@@ -195,26 +195,6 @@ vim.api.nvim_set_keymap('n', 'B', ':bprevious<CR>', { noremap = true, silent = t
-- vim.api.nvim_set_keymap("n", "B", ":lua require('bufjump').backward()<cr>", opts)
-- vim.api.nvim_set_keymap("n", "b", ":lua require('bufjump').forward()<cr>", opts)
+--
-
-vim.cmd [[
-
- highlight markdownH1Delimiter ctermfg=cyan guifg=#00FFFF
- highlight markdownH2Delimiter ctermfg=green guifg=#00FF00
- highlight markdownH3Delimiter ctermfg=yellow guifg=#FFFF00
- highlight markdownH4Delimiter ctermfg=red guifg=#FF0000
- highlight markdownH5Delimiter ctermfg=magenta guifg=#FF00FF
- highlight markdownH6Delimiter ctermfg=white guifg=#FFAAFF
- highlight markdownH1 ctermfg=cyan guifg=#00FFFF
- highlight markdownH2 ctermfg=green guifg=#00FF00
- highlight markdownH3 ctermfg=yellow guifg=#FFFF00
- highlight markdownH4 ctermfg=red guifg=#FF0000
- highlight markdownH5 ctermfg=magenta guifg=#FF00FF
- highlight markdownH6 ctermfg=white guifg=#FFAAFF
-
- highlight markdownUrl ctermfg=blue guifg=#00aaFF
- highlight markdownItalic ctermbg=black guibg=#000000
- highlight markdownLinkText ctermfg=magenta guifg=#FF00FF gui=underline
-]]
-
-
+vim.api.nvim_set_hl(0, 'FloatBorder', { fg = '#888888', bg = 'NONE' })
diff --git a/lua/core/lsp_config.lua b/lua/core/lsp_config.lua
@@ -11,24 +11,21 @@ require('mason').setup({})
-- just in case: there is no need to copy/paste this example in your own config
-- this snippet exists only for educational purpose.
-require('mason-lspconfig').setup({
- handlers = {
- function(name)
- local lsp = require('lspconfig')[name]
- if lsp.manager then
- -- if lsp.manager is defined it means the
- -- language server was configured some place else
- return
- end
-
- -- at this point lsp-zero has already applied
- -- the "capabilities" options to lspconfig's defaults.
- -- so there is no need to add them here manually.
-
- lsp.setup({})
- end,
+vim.lsp.config('lua_ls', {
+ settings = {
+ Lua = {
+ runtime = { version = 'LuaJIT' },
+ diagnostics = { globals = { 'vim' } },
+ workspace = {
+ library = vim.api.nvim_get_runtime_file('', true),
+ checkThirdParty = false,
+ },
+ telemetry = { enable = false },
+ },
},
})
-
-
+require('mason').setup()
+require('mason-lspconfig').setup({
+ ensure_installed = { 'lua_ls' },
+})
diff --git a/lua/core/plugins.lua b/lua/core/plugins.lua
@@ -145,6 +145,8 @@ require("luasnip").config.set_config({ -- Setting LuaSnip config
})
vim.keymap.set("n", "-", "<CMD>Oil<CR>", { desc = "Open parent directory" })
+
+ use("/home/andrew/gitRepos/flashcards.nvim")
--use("scottmckendry/cyberdream.nvim")