Akin Sowemimo
cd3b4d6711
refactor(terminal): ensure correct filetype is set
2022-08-30 11:47:39 +01:00
Akin Sowemimo
bff403fca1
chore(lsp): ignore more lsp diagnostics (for now)
2022-08-28 20:46:28 +01:00
Akin Sowemimo
4cecde14f5
refactor(ui): make setting options more concise
2022-08-28 20:46:28 +01:00
Akin Sowemimo
62124af8e5
style(terminal): use string method syntax for shell helpers
2022-08-28 18:37:05 +01:00
Akin Sowemimo
f494c61024
fix(terminal): fix conditional when focusing terminal
2022-08-28 16:51:06 +01:00
bobokrut
01110d99ea
fix(terminal): keep focus in current on TermExec in 'float' orientation
2022-08-28 16:48:45 +01:00
Akin Sowemimo
7fb7cdf875
refactor(terminal): use vim.F.nil to default values
...
so that if a terminal value is false but specified the fallback isn't
accidentally used instead
2022-08-25 14:30:34 +01:00
Akin Sowemimo
40cab5df71
fix(terminal): keep focus in current on TermExec
...
unless go_back=0
2022-08-25 14:24:37 +01:00
Akin Sowemimo
05c52fc249
fix(terminal): only scroll to bottom if valid
2022-08-25 14:19:48 +01:00
Akin Sowemimo
62683d927d
fix(terminal): improve nil dir check
2022-08-13 20:01:34 +01:00
Xun
6673a8f2fd
fix: check that a directory is valid before using it ( #293 )
2022-08-13 19:59:18 +01:00
Akin Sowemimo
d148057ff4
test(state): disable mode preservation test cases
...
vim state is not changing as expected inside the test case
2022-08-13 19:51:59 +01:00
Akin Sowemimo
dfd794739f
chore(terminal): replace usage of config.get
...
with access methods via the config metatable
2022-08-11 08:51:32 +01:00
Akin Sowemimo
80cd2fff9c
refactor(keymaps): use vim.keymap.set
2022-08-11 08:50:19 +01:00
Akin Sowemimo
672fdcf79e
refactor(selection): tidy up visual selection logic
2022-08-11 08:48:51 +01:00
Akin Sowemimo
623664233b
chore(notify): clean up usages of notify
2022-08-09 09:27:16 +01:00
Akin Sowemimo
11bb51df22
chore(utils): use title field for notifications
2022-08-09 09:19:18 +01:00
Akin Sowemimo
a0f0cbbba9
refactor(utils): use notify instead of echomsg
2022-08-09 09:19:18 +01:00
akinsho
dfce846c60
chore(ci): auto generate docs
2022-08-07 09:39:42 +00:00
Roee Shapira
fb45aaacb2
docs(README): change winbar.name_formatter
config object syntax ( #288 )
2022-08-07 10:39:05 +01:00
Akin Sowemimo
53c9d50add
chore(config): change default of persist_mode to false
...
Many users are unlikely to have set the right keybindings to properly
take advantage of this setting so it shouldn't be true by default.
2022-08-04 21:29:20 +01:00
Akin Sowemimo
b9f7e08942
chore(stylua): format
2022-08-04 17:47:26 +01:00
Akin Sowemimo
cdbffe27ed
chore(lsp): disable third party checks
2022-08-04 17:46:19 +01:00
akinsho
169e45d634
chore(ci): auto generate docs
2022-08-04 16:45:09 +00:00
m-lima
8719396852
feat: enable auto-scroll on stdout/stderr ( #285 )
2022-08-04 17:44:32 +01:00
Akin Sowemimo
5ea823359b
chore(commandline): remove incorrect annotations
2022-08-02 12:06:15 +01:00
Akin Sowemimo
41c70858fd
refactor(commandline): consolidate modules
...
commandline completion and commandline parsing are similar conceptually
and do not need to be handled in different modules
2022-08-02 12:06:15 +01:00
akinsho
a7c9a6fd13
chore(ci): auto generate docs
2022-07-28 15:28:22 +00:00
Akin Sowemimo
23a9e7fa12
docs(README): add mappings warning to notice section
2022-07-28 14:42:41 +01:00
Akin Sowemimo
62b9848496
refactor(config): use direct field access via metatable
2022-07-28 14:42:11 +01:00
Akin Sowemimo
34dbdf698c
refactor(autocommands): consolidate winleave events
2022-07-28 13:46:34 +01:00
akinsho
8c569e6990
chore(ci): auto generate docs
2022-07-28 12:21:19 +00:00
Akin Sowemimo
e9bb223867
docs(config): add open mapping to config class
2022-07-28 13:20:40 +01:00
Akin Sowemimo
d6b1cc48e5
docs(README): use wincmd in terminal mappings
...
This is so that a user doesn't first go into normal mode before leaving
a terminal which breaks "persist_mode = true" since when leaving
a window a user would always be in normal mode, using the old suggested
mappings.
2022-07-28 13:20:05 +01:00
Akin Sowemimo
5478abd611
fix(toggleterm): ensure persist mode called at correct points
2022-07-28 13:16:30 +01:00
akinsho
cd12ed737d
chore(ci): auto generate docs
2022-07-25 14:33:29 +00:00
Akin Sowemimo
f60a98f9e0
ci(workflows): add token in correct key
2022-07-25 15:32:55 +01:00
Akin Sowemimo
2bb9d45c26
ci(workflows): add tokens and update commit workflow
2022-07-25 15:27:45 +01:00
Akin Sowemimo
ffa33cd18c
ci(formatting): update workflow token
2022-07-25 15:21:35 +01:00
wongxy
a95d65e110
doc: float terminal accepts a function for size ( #279 )
2022-07-24 14:49:58 +01:00
Akin Sowemimo
87e757e1a8
refactor(colors)!: use api.nvim_get_hl_by_name
...
to fetch highlight group colours. This prevents implicitly returning
cterm colours.
fixes #276
2022-07-24 12:49:43 +01:00
Akin
9db6f98af4
feat: add ToggleTermSetName command ( #272 )
2022-07-19 09:34:47 +01:00
Akin Sowemimo
5230dde400
fix(ui): allow specifying only one float highlight
...
fixes #250
2022-07-18 11:13:38 +01:00
Akin Sowemimo
bbe0dba2e4
chore(ui): add warning when trying to close last tab
2022-07-18 09:31:14 +01:00
Akin Sowemimo
18069e533e
chore(lsp): disable local cast type
2022-07-18 09:28:31 +01:00
mohsen
ce1dbb49ff
fix: don't try to close the last tab ( #267 )
2022-07-18 09:27:29 +01:00
Akin Sowemimo
3f9d383f1f
chore(lsp): ignore some lsp diagnostics
...
Sumneko just got more demanding and I don't have all the answers
2022-07-17 10:46:11 +01:00
Akin Sowemimo
1e80c282f4
fix(toggleterm): use correct arg for getting lines
...
don't pass a number where a boolean is expected
2022-07-17 10:45:22 +01:00
Akin Sowemimo
14031a8728
docs(LICENSE): add a licence
...
So I'm not expert but I did do some reading around the issue of which
licence to use and decided based on the fact that I don't want FOSS
code I write to be re-packaged and SOLD like it wasn't derived from me or
that the intent wasn't for it to be open. That bothers me.
I don't know if any users will be negatively impacted by this since
unless you intended to sell my code you shouldn't be as far as I know.
Either way if this blocks you somehow open an issue, but as far as I can
see from this: https://www.gnu.org/licenses/gpl-faq.html#InternalDistribution
you can even fork and modify it for internal company usage... you just
can't sell it, which you shouldn't.
2022-07-16 20:32:40 +01:00
Akin Sowemimo
c9579f5bb4
chore(lsp): disable return type mismatch errors
2022-07-16 14:22:23 +01:00