1
1
Fork 0

Compare commits

..

No commits in common. "8dc4bf255c65cbe522abdf881ba72f9de69cd2a6" and "e42c9129bce54854272051dfd53b22d3e15bc9e3" have entirely different histories.

7 changed files with 10 additions and 41 deletions

View file

@ -1,27 +0,0 @@
vim.pack.add({
'https://github.com/nvim-tree/nvim-web-devicons',
'https://github.com/lewis6991/gitsigns.nvim',
'https://github.com/romgrk/barbar.nvim',
})
-- Keys
vim.keymap.set('n',
'<tab>',
'<cmd>BufferNext<cr>',
{ desc = 'Buffer Next' }
)
vim.keymap.set('n',
'<s-tab>',
'<cmd>BufferPrevious<cr>',
{ desc = 'Buffer Previous' }
)
vim.keymap.set('n',
'<leader><leader>',
'<cmd>b#<cr>',
{ desc = 'Buffer Last' }
)
vim.keymap.set('n',
'<leader>w',
'<cmd>BufferClose<cr>',
{ desc = 'Buffer Close' }
)

View file

@ -1,3 +0,0 @@
vim.pack.add({
'https://github.com/dense-analysis/ale',
})

View file

@ -1,16 +1,15 @@
vim.pack.add({
'https://github.com/neovim/nvim-lspconfig',
'https://github.com/mason-org/mason.nvim',
'https://github.com/rachartier/tiny-inline-diagnostic.nvim',
'https://github.com/neovim/nvim-lspconfig'
})
-- mason
require("mason").setup()
-- .ts .js
vim.lsp.enable('typescript')
-- diagnostics
require("tiny-inline-diagnostic").setup({
-- Choose a preset style for diagnostic appearance
-- Available: "modern", "classic", "minimal", "powerline", "ghost", "simple", "nonerdfont", "amongus"
preset = "modern",
-- .lua
vim.lsp.config('luals', {
cmd = {'lua-language-server'},
filetypes = {'lua'},
root_markers = {'.luarc.json', '.luarc.jsonc'},
})
require("tiny-inline-diagnostic").enable()
vim.lsp.enable('luals')