Removing drupal lsp from init.lua as its in its own folder now.
This commit is contained in:
parent
dc60249576
commit
1796a835f8
15
init.lua
15
init.lua
@ -76,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 }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user