diff --git a/a.s b/a.s deleted file mode 100644 index e69de29b..00000000 diff --git a/init.lua b/init.lua index aedb4220..f1273b2d 100644 --- a/init.lua +++ b/init.lua @@ -148,6 +148,7 @@ vim.opt.inccommand = "split" -- Show which line your cursor is on vim.opt.cursorline = true +vim.opt.guicursor = "" -- Minimal number of screen lines to keep above and below the cursor. vim.opt.scrolloff = 10 diff --git a/lua/custom/plugins/autocomplete.lua b/lua/custom/plugins/autocomplete.lua index 5552d1d0..0d60b5e8 100644 --- a/lua/custom/plugins/autocomplete.lua +++ b/lua/custom/plugins/autocomplete.lua @@ -65,7 +65,7 @@ return { -- Autocompletion -- Accept ([y]es) the completion. -- This will auto-import if your LSP supports it. -- This will expand snippets if the LSP sent a snippet. - [""] = cmp.mapping.confirm({ select = true }), + [""] = cmp.mapping.confirm({ select = true }), -- If you prefer more traditional completion keymaps, -- you can uncomment the following lines diff --git a/lua/kickstart/plugins/lint.lua b/lua/kickstart/plugins/lint.lua index 7f0dc42f..cf96c7d0 100644 --- a/lua/kickstart/plugins/lint.lua +++ b/lua/kickstart/plugins/lint.lua @@ -1,12 +1,13 @@ return { { -- Linting - 'mfussenegger/nvim-lint', - event = { 'BufReadPre', 'BufNewFile' }, + "mfussenegger/nvim-lint", + event = { "BufReadPre", "BufNewFile" }, config = function() - local lint = require 'lint' + local lint = require("lint") lint.linters_by_ft = { - markdown = { 'markdownlint' }, + markdown = { "markdownlint" }, + typescript = { "eslint_d" }, } -- To allow other plugins to add linters to require('lint').linters_by_ft, @@ -43,11 +44,11 @@ return { -- Create autocommand which carries out the actual linting -- on the specified events. - local lint_augroup = vim.api.nvim_create_augroup('lint', { clear = true }) - vim.api.nvim_create_autocmd({ 'BufEnter', 'BufWritePost', 'InsertLeave' }, { + local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true }) + vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost", "InsertLeave" }, { group = lint_augroup, callback = function() - require('lint').try_lint() + require("lint").try_lint() end, }) end, diff --git a/t.ts b/t.ts deleted file mode 100644 index e69de29b..00000000