diff --git a/nvim/lua/linter.lua b/nvim/lua/linter.lua new file mode 100644 index 0000000..f724f9e --- /dev/null +++ b/nvim/lua/linter.lua @@ -0,0 +1,3 @@ +vim.pack.add({ + 'https://github.com/dense-analysis/ale', +}) diff --git a/nvim/lua/lsp.lua b/nvim/lua/lsp.lua index 5095427..109d1cf 100644 --- a/nvim/lua/lsp.lua +++ b/nvim/lua/lsp.lua @@ -1,15 +1,16 @@ vim.pack.add({ - 'https://github.com/neovim/nvim-lspconfig' + 'https://github.com/neovim/nvim-lspconfig', + 'https://github.com/mason-org/mason.nvim', + 'https://github.com/rachartier/tiny-inline-diagnostic.nvim', }) --- .ts .js -vim.lsp.enable('typescript') +-- mason +require("mason").setup() - --- .lua -vim.lsp.config('luals', { - cmd = {'lua-language-server'}, - filetypes = {'lua'}, - root_markers = {'.luarc.json', '.luarc.jsonc'}, +-- diagnostics +require("tiny-inline-diagnostic").setup({ + -- Choose a preset style for diagnostic appearance + -- Available: "modern", "classic", "minimal", "powerline", "ghost", "simple", "nonerdfont", "amongus" + preset = "modern", }) -vim.lsp.enable('luals') +require("tiny-inline-diagnostic").enable() diff --git a/nvim/lua/~/.config/nvim/undo/%home%gaiety%dotfiles%nvim%lua%telescope.lua b/nvim/lua/~/.config/nvim/undo/%home%gaiety%dotfiles%nvim%lua%telescope.lua deleted file mode 100644 index 1fe2267..0000000 Binary files a/nvim/lua/~/.config/nvim/undo/%home%gaiety%dotfiles%nvim%lua%telescope.lua and /dev/null differ diff --git a/nvim/lua/~/.config/nvim/undo/%home%gaiety%dotfiles%nvim%lua%undo.lua b/nvim/lua/~/.config/nvim/undo/%home%gaiety%dotfiles%nvim%lua%undo.lua deleted file mode 100644 index 58637bc..0000000 Binary files a/nvim/lua/~/.config/nvim/undo/%home%gaiety%dotfiles%nvim%lua%undo.lua and /dev/null differ