diff options
| author | Joshua Davis <114495200+joshryandavis@users.noreply.github.com> | 2024-01-19 15:12:29 +0000 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-19 16:12:29 +0100 | 
| commit | 741ff3aa70336abb6c76ee4c49815ae589a1b852 (patch) | |
| tree | 90bddbfa648ff18ae70657c1b22f7aa337565ef4 /lua/plugins | |
| parent | 92b2689e6f11004e65376e84912e61b9e6c58827 (diff) | |
fix: on_attach deprecated, replace with lsp.on_attach (#45)
Diffstat (limited to 'lua/plugins')
| -rw-r--r-- | lua/plugins/example.lua | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/plugins/example.lua b/lua/plugins/example.lua index f84ebdc..6859c0e 100644 --- a/lua/plugins/example.lua +++ b/lua/plugins/example.lua @@ -102,7 +102,7 @@ return {      dependencies = {        "jose-elias-alvarez/typescript.nvim",        init = function() -        require("lazyvim.util").on_attach(function(_, buffer) +        require("lazyvim.util").lsp.on_attach(function(_, buffer)            -- stylua: ignore            vim.keymap.set( "n", "<leader>co", "TypescriptOrganizeImports", { buffer = buffer, desc = "Organize Imports" })            vim.keymap.set("n", "<leader>cR", "TypescriptRenameFile", { desc = "Rename File", buffer = buffer })  | 
