Compare commits
No commits in common. "1796a835f81cecb0209db45e6edcdbba23aa708e" and "bb66b8fa82a4562597aa5bc7475c9428763ad85d" have entirely different histories.
1796a835f8
...
bb66b8fa82
18
init.lua
18
init.lua
@ -19,8 +19,7 @@ require("lazy").setup("plugins")
|
|||||||
-- SET NEOVIM THEME --
|
-- SET NEOVIM THEME --
|
||||||
vim.o.termguicolors = true
|
vim.o.termguicolors = true
|
||||||
-- vim.cmd "let g:everforest_background = 'hard'"
|
-- vim.cmd "let g:everforest_background = 'hard'"
|
||||||
vim.cmd.colorscheme('nightfox')
|
vim.cmd.colorscheme('nordfox')
|
||||||
vim.keymap.set("n", "<leader>ct", "<cmd>Telescope colorscheme<CR>")
|
|
||||||
|
|
||||||
-- LSP --
|
-- LSP --
|
||||||
vim.o.winborder = 'rounded'
|
vim.o.winborder = 'rounded'
|
||||||
@ -76,3 +75,18 @@ vim.keymap.set('n', '<leader>db', function()
|
|||||||
local widgets = require('dap.ui.widgets')
|
local widgets = require('dap.ui.widgets')
|
||||||
widgets.centered_float(widgets.scopes)
|
widgets.centered_float(widgets.scopes)
|
||||||
end)
|
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 }
|
||||||
|
|||||||
@ -55,4 +55,3 @@ vim.api.nvim_create_user_command("DiagnosticsToggle", function()
|
|||||||
}
|
}
|
||||||
end, { desc = "toggle diagnostic" })
|
end, { desc = "toggle diagnostic" })
|
||||||
vim.keymap.set("n", "<leader>dtog", "<cmd>DiagnosticsToggle<CR>")
|
vim.keymap.set("n", "<leader>dtog", "<cmd>DiagnosticsToggle<CR>")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user