rust and php
This commit is contained in:
parent
ca7c046589
commit
3219f7855c
10
init.lua
10
init.lua
|
@ -418,7 +418,7 @@ vim.keymap.set('n', '<leader>sr', require('telescope.builtin').resume, { desc =
|
|||
vim.defer_fn(function()
|
||||
require('nvim-treesitter.configs').setup {
|
||||
-- Add languages to be installed here that you want installed for treesitter
|
||||
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim', 'bash', 'markdown', 'markdown_inline'},
|
||||
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim', 'bash', 'markdown', 'markdown_inline', 'php'},
|
||||
|
||||
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
|
||||
auto_install = false,
|
||||
|
@ -567,6 +567,10 @@ local servers = {
|
|||
filetypes = { 'rust' },
|
||||
},
|
||||
|
||||
phpactor = {
|
||||
filetypes = { 'php' },
|
||||
},
|
||||
|
||||
lua_ls = {
|
||||
Lua = {
|
||||
workspace = { checkThirdParty = false },
|
||||
|
@ -656,3 +660,7 @@ cmp.setup {
|
|||
|
||||
-- The line beneath this is called `modeline`. See `:help modeline`
|
||||
-- vim: ts=2 sts=2 sw=2 et
|
||||
|
||||
-- MY KEYMAPS --
|
||||
-- exit insert mode with lk
|
||||
vim.keymap.set("i", "lk", "<esc>")
|
||||
|
|
Loading…
Reference in New Issue