Compare commits
2 Commits
bb66b8fa82
...
1796a835f8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1796a835f8 | ||
|
|
dc60249576 |
18
init.lua
18
init.lua
@ -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 }
|
||||
|
||||
@ -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>")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user