Compare commits

..

2 Commits

Author SHA1 Message Date
calcu1on
1796a835f8 Removing drupal lsp from init.lua as its in its own folder now. 2025-05-21 08:28:11 -04:00
calcu1on
dc60249576 Adding theme switch keymap 2025-05-21 08:22:35 -04:00
2 changed files with 3 additions and 16 deletions

View File

@ -19,7 +19,8 @@ require("lazy").setup("plugins")
-- SET NEOVIM THEME --
vim.o.termguicolors = true
-- vim.cmd "let g:everforest_background = 'hard'"
vim.cmd.colorscheme('nordfox')
vim.cmd.colorscheme('nightfox')
vim.keymap.set("n", "<leader>ct", "<cmd>Telescope colorscheme<CR>")
-- LSP --
vim.o.winborder = 'rounded'
@ -75,18 +76,3 @@ vim.keymap.set('n', '<leader>db', function()
local widgets = require('dap.ui.widgets')
widgets.centered_float(widgets.scopes)
end)
-- local lspconfig = require 'lspconfig'
-- local configs = require 'lspconfig.configs'
-- if not configs.drupal then
-- configs.drupal = {
-- default_config = {
-- cmd = {'drupal-lsp'},
-- filetypes = {'php', 'module', 'inc', 'theme'},
-- root_dir = function(fname)
-- return lspconfig.util.root_pattern('composer.json', '.git')(fname)
-- end
-- };
-- }
-- end
-- lspconfig.drupal.setup{ autostart = true }

View File

@ -55,3 +55,4 @@ vim.api.nvim_create_user_command("DiagnosticsToggle", function()
}
end, { desc = "toggle diagnostic" })
vim.keymap.set("n", "<leader>dtog", "<cmd>DiagnosticsToggle<CR>")